And Statement

walterf25

Expert
Licensed User
Longtime User
Hello all, i have a little bit of situation, i'm trying to write a statement like this "If Activity.Height>Activity.Width and pnlPage1 = true then
......
.....
....
...
..
else
.....
....
...
..
.
End if

I know i can do this in Visual Studio but when i try doing it with Basic4Android it doesn't work it gives me an error, does anyone have any idea on how to accomplish this, any help will be greatly appreciated.

thanks,
Walter
:sign0085:
 

walterf25

Expert
Licensed User
Longtime User
Sorry, i had mispelled a word that is why it wasn't working, thank you so much for your help, i have another question though maybe you can help me with this as well, i'm building an app which has about 4 or 5 screens, main screen, screen2, screen3 etc. when i click on a button on the main screen it will take me to the screen specified in the button_click code, but if i change orientation let's say from portrait to lanscape, it will take me back to the main screen, what can i do so that i remain in the screen i was taken to when pushed on the button, hope this makes sense, thanks again for all your help :sign0188:
 
Upvote 0
Top