"namedRegisterEnabled"

With the aid of this attribute a tab can be activated or deactivated via its name.

Synopsis

setValue(string shape, "namedRegisterEnabled", string s, bool enabled);

getValue(string shape, "namedRegisterEnabled", string s, bool &enabled);

shape.namedRegisterEnabled(string s, bool enabled);

Parameters

Parameter Description
shape Name of the object, e.g. Tab1.
s Name of the tab, e.g. Reg4.
enabled The tab is enabled (TRUE) or disabled (FALSE).

Description

With the aid of this attribute a tab can be activated or deactivated via its name.

Example

The following example hides the column called "First name".

main()
{
  TAB1.namedRegisterEnabled("Plant2",FALSE);
  //Deactivates the "Plant2" tab of the object "TAB1"
}
Abbildung 1. Deactivated "Plant2" tab

Assignment

Tab