SftTabs/NET 6.0

DropText Property, SftTabs Class

Softel vdm, Inc.

Defines whether tab text is dropped if it doesn't fit.

Syntax      SftTabs Class (Softelvdm.SftTabsNET)

VB   

Public Property DropText As Boolean

C#   

public bool DropText { get; set; }

C++   

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

Property Value

True if the tab text is dropped if it doesn't fit, False otherwise.

The default value is False.

Comments

The DropText property defines whether tab text is dropped if it doesn't fit.

If the DropText property is set to True, the tab text defined for tabs (using TextPartClass instances) will only be visible if all tabs can be displayed in their entirety. If contents are truncated, possibly because the tab control has insufficient space to display tabs with their best width, the text is not displayed.

This property should only be set to True if all tabs have been defined with other non-text parts (parts other than those based on the TextPartClass class). Otherwise an empty tab is displayed which is not desirable.


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