Orientation Screen PDA
Orientation Screen PDA
Existe alguma forma de sabermos se o PDA está em Landscape ou Portrait ?
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Una manera sencilla sería comparar el ancho y alto de la ventana principal:
Code: Select all
if oWnd:nWidth > oWnd:nHeight
MsgInfo( "landscape" )
else
MsgInfo( "portrait" )
endif