Hello Xailers,
Whats the use of this properties, nMaxPosX and nMaxPosY?
Wasn't it suppose to lock a maximum position of the form on the screen?
How do I use it? Because Im trying to lock the position of a form on the screen... Or is there any other to do that?
Thanks,
Juliano
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
nMaxPos Property
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
nMaxPos Property
emeasoft escribió el mar, 24 abril 2012 14:16Hello Xailers,
Whats the use of this properties, nMaxPosX and nMaxPosY?
Wasn't it suppose to lock a maximum position of the form on the screen?
How do I use it? Because Im trying to lock the position of a form on the screen... Or is there any other to do that?
Thanks,
Juliano
To lock the position of a form the best way to do it is changing its nBorderStyle to bsSPLASH. BTW, you should put a close button.
Regards,
Whats the use of this properties, nMaxPosX and nMaxPosY?
Wasn't it suppose to lock a maximum position of the form on the screen?
How do I use it? Because Im trying to lock the position of a form on the screen... Or is there any other to do that?
Thanks,
Juliano
To lock the position of a form the best way to do it is changing its nBorderStyle to bsSPLASH. BTW, you should put a close button.
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
nMaxPos Property
Juliano,
> Whats the use of this properties, nMaxPosX and nMaxPosY?
> Wasn't it suppose to lock a maximum position of the form on
> the screen?
>
> How do I use it?
Those properties set the position, in screen coordinates, of the
upper-left corner of the form when (and only) it is maximized. If you
want to lock the form in a range of screen coordinates, you may write
the method WMMoving() in your form. See the source code of TCalculator
(calculator.prg).
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> Whats the use of this properties, nMaxPosX and nMaxPosY?
> Wasn't it suppose to lock a maximum position of the form on
> the screen?
>
> How do I use it?
Those properties set the position, in screen coordinates, of the
upper-left corner of the form when (and only) it is maximized. If you
want to lock the form in a range of screen coordinates, you may write
the method WMMoving() in your form. See the source code of TCalculator
(calculator.prg).
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
nMaxPos Property
Thanks for the help Jose and Ignacio,
It helped me solve our issue.
Regards,
Juliano
It helped me solve our issue.
Regards,
Juliano