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
|