Orientation Screen PDA
- Antonio Linares
- Site Admin
- Posts: 42521
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Una manera sencilla sería comparar el ancho y alto de la ventana principal:
Code: Select all | Expand
if oWnd:nWidth > oWnd:nHeight
MsgInfo( "landscape" )
else
MsgInfo( "portrait" )
endif