Wiki

Clone wiki

FiveTouch Public repository / functions

Name Description
ConsoleOut( aParams ) Displays an array of values on the console
cFileNoExt( cFileName ) Removes the extension of the filename
cFileNoPath( cFileName ) Removed the path of a filename
cValToChar( uValue ) Converts any value into a string, same as in FWH
DownloadsPath() Returns the path for the downloads folder of the device
IfNil( uValue, uDefault ) Checks if uValue is nil and if yes, then it returns the uDefault value
lIsDir( cDirName ) Checks if a directory exists
MsgInfo( uMsg [, cTitle] ) Show a message, same as with FWH
MsgYesNo( cMsg, [, cTitle] ) Shows a Yes No message, returns .T. if Yes is selected. Same as in FWH
nRGB( nRed, nGreen, nBlue ) Returns a nRGB color, same as in FWH
OutErrFunc( cMsg ) called from low level to report an error message to high level
OutStdFunc( cMsg ) called from low level to report a std message to high level
PicturesPath() Returns the path for the pictures folder of the device
ScreenHeight() Returns the height of the device screen
ScreenWidth() Returns the width of the device screen
SelFile() Let the user select a filename interactively.
SysRefresh() Allows the system to process pending events
WndMain() returns the main window of the app, implemented by FiveTouch. Same as in FWH

Updated