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
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.
Monitor resolution
-
- Mensajes: 30
- Registrado: Lun Jul 18, 2005 12:29 am
Monitor resolution
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
> 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