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

Go Back   Android Development Forum - Basic4android > Foreign Languages > French Forum
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

[Astuce]Tester facilement l'orientation de l'écran

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-18-2012, 08:47 PM
Newbie
 
Join Date: Apr 2011
Location: Bordeaux
Posts: 1
Default [Astuce]Tester facilement l'orientation de l'écran

Une petite astuce toute bête pour tester si l'on est en mode portait ou en mode paysage :
Code:
Sub Activity_Resume

    
If Activity.Width > Activity.Height Then
        
Msgbox ( "paysage""test")
    
Else
        
Msgbox ( "portrait""test")
    
End If
    
End Sub
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
Astuce|Tip: Insert any file type directly in your Compiled EXE! sitajony Code Samples & Tips 0 05-14-2010 07:35 PM
Afficher un control directement sur l'écran... sitajony French Forum 0 05-12-2010 11:37 PM


All times are GMT. The time now is 06:06 PM.


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