COMO HACER QUE UNA VENTANA NO SE MUEVA ???

HMG en Español

Moderator: Rathinagiri

Post Reply
User avatar
CarlosRD
Posts: 63
Joined: Thu Jan 31, 2013 9:20 pm
Location: Orizaba, México

COMO HACER QUE UNA VENTANA NO SE MUEVA ???

Post by CarlosRD »

QUIERO CREAR UNA NUEVA VENTANA EN MI APLICACION, PERO QUIERO QUE SEA FIJA, SIN MOVIMIENTO, SE PUEDE?
Todo en el Nombre de Jesus / All in the name of Jesus
Carlos RD
User avatar
danielmaximiliano
Posts: 2646
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: COMO HACER QUE UNA VENTANA NO SE MUEVA ???

Post 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
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: COMO HACER QUE UNA VENTANA NO SE MUEVA ???

Post by esgici »

Viva INTERNATIONAL HMG :D
User avatar
danielmaximiliano
Posts: 2646
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: COMO HACER QUE UNA VENTANA NO SE MUEVA ???

Post 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.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
CarlosRD
Posts: 63
Joined: Thu Jan 31, 2013 9:20 pm
Location: Orizaba, México

Re: COMO HACER QUE UNA VENTANA NO SE MUEVA ???

Post 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.
Todo en el Nombre de Jesus / All in the name of Jesus
Carlos RD
Post Reply