Page 1 of 1
COMO HACER QUE UNA VENTANA NO SE MUEVA ???
Posted: Fri Feb 22, 2013 6:36 pm
by CarlosRD
QUIERO CREAR UNA NUEVA VENTANA EN MI APLICACION, PERO QUIERO QUE SEA FIJA, SIN MOVIMIENTO, SE PUEDE?
Re: COMO HACER QUE UNA VENTANA NO SE MUEVA ???
Posted: Fri Feb 22, 2013 7:22 pm
by danielmaximiliano
CarlosRD wrote:QUIERO CREAR UNA NUEVA VENTANA EN MI APLICACION, PERO QUIERO QUE SEA FIJA, SIN MOVIMIENTO, SE PUEDE?
Hola Carlos : utiliza el Metodo
ON MOUSEMOVE cuando definas una ventana.
creas un función que devuelva la posicion original de esa ventana.
yo utilizo este formato para modificar el tamaño de un control
Code: Select all
Window.Tab.Width := Window.Width - 10
Window.Tab.Height := Window.Height - 60
Re: COMO HACER QUE UNA VENTANA NO SE MUEVA ???
Posted: Fri Feb 22, 2013 9:13 pm
by esgici
Re: COMO HACER QUE UNA VENTANA NO SE MUEVA ???
Posted: Fri Feb 22, 2013 9:31 pm
by danielmaximiliano
Hola Esgici / Carlos :
La idea de guarda el tamano de la ventana y su ubicacion inicial en necesaria ya que el "Cliente" quiere ver debajo o modificar el tamaño original para ver un contenido que hay debajo del esa "Ventana" y regresar al tamaño original despues.
queda bien el TIP de usar el Control Timer para que se autorestaure.
Translate Google
Hello Esgici / Carlos:
The idea of you will keep the window size and initial location necessary as the "Client" wants to see under or modify the original size to view content that's under the "Window" and then return to the original size.
While the TIP is to use the Timer control to be autorestore.
Re: COMO HACER QUE UNA VENTANA NO SE MUEVA ???
Posted: Sat Feb 23, 2013 3:23 pm
by CarlosRD
hi esgici,
i have been tested the CONTROL TIMER and it works perfect with MODAL WINDOW (this is the type of window i am using in this part of my aplication).
thank you.
one more quiestion: how can i do for CAPSLOCK allways ON?
regards.
*********************
hola esgici,
he probado el CONTROL TIMER y funciona perfecto con el tipo de WINDOW MODAL (es la que uso en esa parte de mi aplicación). gracias
otra pregunta mas, Como puedo hacer para que el CAPSLOCK este encendido y siempre escriba letras mayúsculas?
saludos.