SalQuickTabs

PPJ.Runtime.Windows.QO.SalQuickTabs

Namespace: PPJ.Runtime.Windows.QO

Assembly: PPJ.Runtime.49 (4.9.0.0)

Tab frame window class. Instances of this class should be created as children of SalQuickTabsForm objects or SalQuickTabsDialog objects.

public class SalQuickTabs : SalUserControl, IExtenderProvider

Constructors

Default Constructor.

Properties

TabAlignment: Gets or sets the area of the control (for example, along the top) where the tabs are aligned. (Default: Top)

TabAppearance: Gets or sets the visual appearance of the control's tabs. (Default: Normal)

TabDrawMode: Returns/Sets the way the tab control is drawn. (Default: Normal)

ImageList: Returns/Sets the image list to use to display images on child tabs. (Default: null)

Size: Reflects the tab's size

Boolean: Indicates if more than one row of tabs is allowed. (Default: False)

Rectangle: Returns the display area of the tab pages.

Boolean: Indicates whether the layout of the control is right-to-left when the RightToLeft property is set to Yes.

Int32: Returns/Sets the currently selected tab. (Default: 0)

SalTabPage: Returns/Sets the selected tab page.

TabSizeMode: Indicates how tabs sized. (Default: Normal)

TabControl: Returns the wrapped tab control

SalTabPageCollection: Returns the collection of tab pages.

String: Initial Tab pages collection. Each tab is defined using a string property formatted as: {Name=Name0;Label=Label0;Form=FormClass0}{...} (Default: "")

Boolean: Returns/Sets a value that determines if the tab pages paints the background using visual styles, if supported. (Default: False)

Methods

Append a tab. Redraw is optional Return an index

Returns: SalNumber.

Add a page. Call this function to add a page to the page list. The page window will not be created until the page is activated. The return value is TRUE or FALSE.

Returns: SalBoolean.

Adds a tab page at a valid tab set index position.

Returns: SalBoolean.

Adds a tab page at a valid tab set index position. You can include an image and a tool tip.

Returns: SalBoolean.

Apply changes to all pages. Call this function to cause the PAGEM_ApplyChanges message to be sent to all form pages.

Returns: SalBoolean.

Associates a child to a tab page.

Returns: SalBoolean.

Assigns a child window created at runtime to the specified tab page as its container window. You can programmatically create a Form Window or Dialog Box as child and assign it to a tab page by using this function.

Returns: SalBoolean.

Activate a tab.

Returns: SalBoolean.

Cancel a user action. This can be called when processing a TABSM_ message.

Returns: SalBoolean.

Clear all tabs from the frame. Redraw is optional.

Returns: SalBoolean.

Clear all pages. Call this function to remove all entries from the page list and destroy any existing windows. The return value is TRUE of FALSE.

Returns: SalBoolean.

Create a page window. This function to causes the page window to be created. Typically it is not necessary to call this function because SetCurrentPage will take care of creating the page window. The page window will not be shown until SetCurrentPage is called.

Returns: SalBoolean.

Delete a tab at a location. Redraw is optional. Return TRUE or FALSE.

Returns: SalBoolean.

Destroy a page window. Call this function to destroy a page window. The page is not removed from the list. The page window can be recreated.. The return value is TRUE or FALSE.

Returns: SalBoolean.

Detaches a child window from the specified tab control.

Returns: SalWindowHandle.

Disables a tab page.

Returns: SalBoolean.

Disassociates a child with a tab page.

Returns: SalBoolean.

Enable or disable a tab

Returns: SalBoolean.

Enables a tab page

Returns: SalBoolean.

Find a tab give a tab label

Returns: SalNumber.

Find a tab give a tab name

Returns: SalNumber.

Finds the tab frame window on a form or dialog box

Returns: SalWindowHandle.

Returns the control associated with the handle.

Returns: SalQuickTabs.

Gets the current active tab page.

Returns: SalNumber.

Get the index of the tab being clicked. This should only be called during a click notification.

Returns: SalNumber.

Returns: SalBoolean.

Returns: SalBoolean.

Returns: SalBoolean.

Returns the names of the tab pages that the control is associated to. The list if names is separated by a semicolon.

Returns: String.

Get the count of tabs

Returns: SalNumber.

Returns: SalBoolean.

Returns: SalBoolean.

Returns: SalBoolean.

Gets the tab page index as specified by the tab name.

Returns: SalNumber.

Gets the name of the tab page (not the title that appears on the tab page at runtime).

Returns: SalString.

Gets the tab page title as specified by the tab index.

Returns: SalString.

Get the window of a page. Call this function to get the Window Handle of a page. The return value is the Window Handle of the page. hWndNULL is returned if the page window has not been created.

Returns: SalWindowHandle.

Gets the window handle of the specified tab page.

Returns: SalWindowHandle.

Retrieve the number rows of tabs

Returns: SalNumber.

Returns: SalNumber.

Get the index of the active tab

Returns: SalNumber.

Hides a tab page.

Returns: SalBoolean.

Use this function instead of SalHideWindow. This function will keep the window hidden as tabs are selected. Use the class function ShowWindow to undo the affect of this function.

Returns: SalBoolean.

Use this function instead of SalHideWindowAndLabel. This function will keep the window hidden as tabs are selected. Use the class function ShowWindowWindowAndLabel to undo the affect of this function.

Returns: SalBoolean.

Get the tab, if any, under a given point (in pixels). A negative number is returned if the point is not over a tab.

Returns: SalNumber.

Generates the PAGEM_Initialize event for all forms that are bound to tab pages.

Returns: SalBoolean.

Insert a tab at a location. Redraw is optional. Return TRUE or FALSE.

Returns: SalBoolean.

Indicate whether a child window is associated with a tab

Returns: SalBoolean.

Indicate whether a tab is enabled

Returns: SalBoolean.

Returns if the specified control is considered to be visible by the tab control and will be shown when the associated tab is selected.

Returns: SalBoolean.

Activate the next tab

Returns: SalNumber.

Returns the number of tab pages.

Returns: SalNumber.

Activate the previous tab

Returns: SalNumber.

Handles keys to change the selected tab.

Returns: Boolean.

Arranges tabs on the frame and repaints. Call after adding tabs or clearing with a FALSE redraw flag.

Returns: SalBoolean.

Reloads the original tabs configuration.

Returns: SalBoolean.

Removes a tab page.

Returns: SalBoolean.

Renames a tab page.

Returns: SalBoolean.

Resize all pages. Call this function to resize all form pages. The active page is resized first. The return value is TRUE or FALSE.

Returns: SalBoolean.

Resize all pages. Call this function to resize all form pages. The active page is resized first. The return value is TRUE or FALSE.

Returns: SalBoolean.

Send a message to all child windows associated with a tab

Returns: SalBoolean.

Activates a tab specified by a particular tab index.

Returns: SalBoolean.

Sets the tab pages associated to child control. The list is separated by a semicolon.

Activates a page. Causes the form page associated to the specified tab to be created and/or shown. The current form page will be hidden.

Returns: SalBoolean.

Sets the image to associate with the tab.

Returns: SalBoolean.

Sets the image to associate with the tab.

Returns: SalBoolean.

Sets the icon to associate with the tab.

Returns: SalBoolean.

Set the label displayed on a tab. Redraw is optional.

Returns: SalBoolean.

Associate a name with a tab

Returns: SalBoolean.

Defines the location and size of form pages.

Returns: SalBoolean.

Defines the location and size of form pages.

Returns: SalBoolean.

Sets the title of the specified tab page.

Returns: SalBoolean.

Sets the tool tip text on the specified tab page. Tool tip text appears only on tab selector, not on a tab container window.

Returns: SalBoolean.

Define the boundaries of the workspace so that a tiled-to-parent tab frame won't be resized smaller than this boundary.

Returns: SalBoolean.

Shows a tab page

Returns: SalBoolean.

Show or hide child windows based on the current tab

Returns: SalBoolean.

Use this function instead of SalShowWindow because it works properly with the class function HideWindow

Returns: SalBoolean.

Use this function instead of SalShowWindowAndLabel because it works properly with the class function HideWindowAndLabel.

Returns: SalBoolean.

Updates the Tab bar after a SalTabAssociateChild or SalTabDisassociateChild is called.

Returns: SalBoolean.

Events

PaintEventHandler DrawControl event

DrawItemEventHandler DrawItem event

EventHandler Fired when the selected tab has changed.

TabCancelEventHandler Fired when the selected tab is about to change.

Implements

Last updated