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.

Monitor resolution

Foro público de Xailer en español
Responder
Christian Lauer
Mensajes: 30
Registrado: Lun Jul 18, 2005 12:29 am

Monitor resolution

Mensaje por Christian Lauer »

Hola a todos,
is there a function which returns the resolution of the monitor in
pixels (width / height) and another which returns the client area?
Saludos
Christian Lauer
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Monitor resolution

Mensaje por jfgimenez »

Christian,
> is there a function which returns the resolution of the monitor in pixels
> (width / height) and another which returns the client area?
Screen:nWidth and Screen:nHeight are the screen dimensions, and
Screen:nClientWidth and Screen:nClientHeight are the client area dimensions.
Screen is a public "ready to use" object. You don't need to instantiate it;
just use it.
--
Regards,
Jose F. Gimenez
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Responder