View Single Post
  #89 (permalink)  
Old 05-30-2008, 08:52 PM
Cableguy's Avatar
Cableguy Cableguy is offline
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,198
Default

From the main help file:

Quote:
cPPC - True if the application is running on a Device and false if it is running on the Desktop.
False
True
Version (Basic4ppc version)
So you can set the app by cheking if it is running on the device, if not its on the desktop...

Code:
.......
If cPPC= True then RunOnDevice Else RunOnDeskTop
.......

Sub RunOnDevice
'Set the app to run on the device
......
End sub

Sub RunOnDeskTop
´Set the app to run on DeskTop
......
End Sub
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote