IsTabVisible

Parent Previous Next

IsTabVisible

This function returns a true/false value indicating if an item in the Tab Object is visible or not.


Function Definition:


bool IsTabVisible(int index);

Returns a boolean indicating if the given item is visible or not.


Params:

Int index: Int that represents the item in the Tab Object(index starts with 0).


Return:

True: if the tab item is visible.

False: if the tab item is not visible.



To configure this function, follow the steps below:


1.   In an object event, configure the IsTabVisible function: TabObjectName.IsTabVisible(index);


2.   During the execution of RunTime, run the configured event.


Example :


In the graphic document, the user has one Tab object (named as Tab1). In a Button object (named as Button1) the user configures the MouseUp event with the following event:


bool visible = Tab1.IsTabVisible(1);


In this event, the Button1 will set the variable "visible" true/false value depending if the second item of the Tab Object is visible or not(the fist Item of the Tab Object has index 0, the second item has index 1 and so on).




  

 

Note: This property exists only to the following objects:

.     Tab