-
Notifications
You must be signed in to change notification settings - Fork 3
Functions
FiveTech Software edited this page Jul 31, 2019
·
8 revisions
NSLog( mesg )
Logs to console.
-
mesg: (String) Message to log.
SysRefresh()
Process pending system msgs while in modal state
Exit()
Quits the app.
MsgInfo( cMesg, [cTitle] )
Shows an Alert View with a button.
-
cMesg: (String) Content of the message. -
cTitle: (String) Content of the title [optional].
MsgYesNo( cMesg, [cTitle] )
Returns BOOL yes has been pressed.
Shows an Alert View with yes and no actions.
-
cMesg: (String) Content of the message. -
cTitle: (String) Content of the title [optional].
SetBkColor( red, green, blue, alpha )
Changes the background color of the view.
-
red: (par) Value of red up to 255. -
green: (par) Value of green up to 255. -
blue: (par) Value of blue up to 255. -
alpha: (par) Value of opacity up to 100.
SetStatusBar( style )
Changes the status bar to light or default.
-
style: (par) If 1, sets status bar to light.
CreateButton( title, x, y, width, height, [rounded] )
Shows a button on the view.
-
title: (String) Title of the button. -
x: (par) x position on the view. -
y: (par) y position on the view. -
width: (par) Width of the button. -
height: (par) Height of the button. -
rounded: (par) Pixels for rounded corners [optional].
CreateLabel( text, x, y, width, height, [align] )
Shows a label on the view.
-
text: (String) Text of the label. -
x: (par) x position on the view. -
y: (par) y position on the view. -
width: (par) Width of the label. -
height: (par) Height of the label. -
align: (par) Alignment of the text (1-left, 2-center, 3-right, 4-justified) [optional].