Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Code Samples & Tips Share your recent discoveries and ideas with other users.

Change screen orientation programmatically??

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 01-09-2010, 04:50 PM
Junior Member
 
Join Date: Nov 2009
Posts: 16
Default

Quote:
Originally Posted by agraham View Post
It's a security "feature" because it's a downloaded file. Right click on the file name, select Properties and there's a checkbox to unblock it somewhere.
Thank you, again. I am learning so much and appreciate all your help.
Reply With Quote
  #22 (permalink)  
Old 05-11-2010, 04:48 PM
Knows the basics
 
Join Date: May 2010
Posts: 92
Default Screen orientation

Hello.

Sub Button1_click
If cPPC = True Then
Shell("BtnsL.exe", "")
End If
End Sub

Attached the image of what I have on the form....

Can it be fixed or is it my device's glitch?

Thanx.
Reply With Quote
  #23 (permalink)  
Old 05-11-2010, 05:27 PM
Knows the basics
 
Join Date: May 2010
Posts: 92
Default oops

Failed to attach the image....

When i change screen orientation from portrait to landscape the previous screen
is partially seen.
Reply With Quote
  #24 (permalink)  
Old 05-11-2010, 06:25 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You should add a FormLib object to your form. FormLib handles the screen change.
__________________
Basic4android documentation
Reply With Quote
  #25 (permalink)  
Old 05-11-2010, 07:56 PM
Knows the basics
 
Join Date: May 2010
Posts: 92
Default

Thanx Eric.
I added an object and initialized it with new1.
Now it's Ok.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
can i change font ? gjoisa Questions (Windows Mobile) 1 03-29-2008 10:58 AM
Font change klaus Questions (Windows Mobile) 6 12-30-2007 07:00 PM
sceen orientation Filec Questions (Windows Mobile) 3 07-13-2007 01:34 PM
Image gets lost with orientation change HARRY Questions (Windows Mobile) 7 05-14-2007 10:19 AM
Screen orientation changes automatically? mwaite Questions (Windows Mobile) 3 05-01-2007 07:53 PM


All times are GMT. The time now is 05:06 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0