int TextSetVisible(int tx, int flag);
Set a text label visible or invisible, by default it is visible.
Return Value
Return value is not used.
Parameters
tx Text label handle returned from TextAdd().
flag Visibility state of the text label. 0 = invisible, 1 = visible.
Remarks
The TextSetVisible() function changes the visibility of a text label.
Availability
Available in DragonFireSDK 1.0 and later.
Example
Description: This example will set up a text label and set its visibility to false.
#include "DragonFireSDK.h"
int font; int text;
void AppMain() { font=FontAdd("Helvetica","Regular",18,0x777700); text=TextAdd(20,20,"Helvetica",font); TextSetVisible(text,0); }
void AppExit() {
}
void OnTimer() {
} |