SftTabs/NET 6.0

Enabled Property, TabClass Class

Softel vdm, Inc.

Defines whether the tab is enabled.

Syntax      TabClass Class (Softelvdm.SftTabsNET)

VB   

Public Property Enabled As Boolean

C#   

public bool Enabled { get; set; }

C++   

public: property bool Enabled {
        bool get();
        void set(bool value);
}

Property Value

True if the tab is enabled, False otherwise.

The default value is True.

Comments

The Enabled property defines whether the tab is enabled.

A disabled tab is displayed using grayed tab text and the tab graphic is displayed in a grayed fashion.

At run-time, a disabled tab cannot be made the currently active tab. The Current property and the mouse and keyboard interface will not allow a disabled tab to become the active tab.

If a disabled tab is made the current tab at design-time, it will be made the active tab at run-time.

Disabled tabs are visible to the end user. To completely hide a tab and all its associated controls, the Visible property can be used instead.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com