PPJ Web API
HomeCurrent IssuesDownloads
  • Welcome
  • Concepts
  • PPJ.Web.49
    • General
      • Sal
      • Sys
      • SalApplication
      • SalNamedProperties
      • SalWindow
      • WindowActionsEventArgs
      • SalXML
    • COM
      • SalCoClass
      • SalObject
      • SalOleErrorInfo
      • SalSafeArray
      • SalVariant
      • stdole_Font
      • stdole_Picture
      • stdole_StdFont
      • stdole_StdPicture
    • Controls
      • SalBackgroundText
      • SalCheckBox
      • SalComboBox
      • SalContext
      • SalCustomControl
      • SalDataField
        • DataType
      • SalFrame
      • SalGeneralWindow
      • SalGroupBox
      • SalGroupSeparator
      • SalHorizontalScrollBar
      • SalLine
      • SalListBox
      • SalMultilineField
      • SalNavigationBar
      • SalOptionButton
        • OptionButtonStyle
      • SalPicture
        • ImageStorage
      • SalPushbutton
      • SalRadioButton
      • SalTimer
      • SalTreeControl
        • SalTreeItem
      • SalUserControl
      • SalVerticalScrollBar
    • Forms
      • AccessoryType
      • SalDialogBox
      • SalForm
      • SalFormClientArea
      • SalFormStatusBar
      • SalFormTableWindow
      • SalFormToolBar
      • SalFormWindow
      • SalMDIWindow
      • SalRibbonBarBase
      • SalRibbonBarForm
      • SalRibbonBarMDI
    • Interfaces
      • ISalType
      • ISalAccessory
      • ISalControl
      • ISalEditControl
      • ISalListControl
      • ISalListItem
      • ISalMenu
      • ISalPictureControl
      • ISalRadioButton
      • ISalReport
      • ISalWindow
    • Menus
      • SalContextMenu
      • SalFormMainMenu
      • SalMenuItem
      • SalMenuSeparator
      • SalPopupMenu
      • SalWindowsMenu
    • QO
      • SalQuickTabs
      • SalQuickTabsDialog
      • SalQuickTabsForm
      • SalQuickTabsParent
      • SalQuickTabsParentDialog
      • SalQuickTabsParentForm
    • Sql
      • SalSqlBindVariables
      • SalSqlError
      • SalSqlHandle
      • SalSqlSessionHandle
      • Sql
      • SqlContext
      • SqlOra
      • WhenSqlError
    • Types
      • SalArray<T>
      • SalBinary
      • SalBoolean
      • SalDateTime
      • SalFileHandle
      • SalFunctionalClass
      • SalNumber
      • SalResource
      • SalString
      • SalStringContext
      • SalWindowHandle
  • PPJ.Web.Vis.49
    • General
      • Vis
      • VisTblEx
    • Controls
      • VisCalendar
      • VisCalendarDropDown
      • VisColorComboBox
      • VisColorListBox
      • VisComboBoxBase
      • VisDesktopListBox
      • VisDirListBox
      • VisDirTreeListBox
      • VisDriveComboBox
      • VisDriveListBox
      • VisDropDownBase
      • VisFileListBox
      • VisFontComboBox
      • VisFontListBox
      • VisFontNameComboBox
      • VisFontNameListBox
      • VisListBoxBase
      • VisListBoxExtension
      • VisListView
      • VisListViewDropDown
      • VisMeter
      • VisOutlineComboBox
      • VisOutlineListBox
      • VisPictureComboBox
      • VisPictureListBox
      • VisPoint
      • VisRadioListBox
      • VisRect
      • VisSize
      • VisSpinField
      • VisSplitter
      • VisSplitterWindow
        • Orientation
  • PPJ.Web.XSal.49
    • General
      • XSal
      • XSalScript
    • Controls
      • XSalFlatButton
      • XSalHSplitter
      • XSalSplitter
      • XSalToolbar
      • XSalToolbox
      • XSalVSplitter
Powered by GitBook
On this page
  • Constructors
  • SalQuickTabs()
  • Properties
  • Alignment
  • AllowUserToMoveTabs
  • ImageList
  • ItemSize
  • Orientation
  • PageRectangle
  • SelectedIndex
  • SelectedTab
  • ShowVisibilityMenu
  • SizeMode
  • TabControl
  • TabPages
  • TabSetup
  • Methods
  • Add(bRedraw)
  • AddPage(sTag, sForm, hWnd)
  • AddPage(pageIndex, pageName)
  • AddPageEx(pageIndex, pageName, imageFile, tooltip)
  • ApplyFormPageChanges()
  • AssociateChild(pageIndex, child)
  • AttachWindow(pageIndex, form)
  • BringToTop(nIndex, bRedraw)
  • CancelMode()
  • Clear(bRedraw)
  • ClearPages()
  • CreatePage(sTag)
  • Delete(nIndex, bRedraw)
  • DestroyPage(sTag)
  • DetachWindow(pageIndex)
  • DisablePage(pageIndex)
  • DisassociateChild(pageIndex, child)
  • Enable(nIndex, bEnable)
  • EnablePage(pageIndex)
  • FindLabel(sLabel)
  • FindName(sName)
  • FindTabFrame(hWndForm)
  • FromHandle(hWnd)
  • GetActivePage()
  • GetClicked()
  • GetContentsBorderRect(nLeft, nTop, nRight, nBottom)
  • GetContentsRect(nLeft, nTop, nRight, nBottom)
  • GetContentsRectPixels(nLeftPixels, nTopPixels, nRightPixels, nBottomPixels)
  • GetControlTabPages(control)
  • GetCount()
  • GetLabel(nIndex, sLabel)
  • GetMarginRect(nLeft, nTop, nRight, nBottom)
  • GetName(nIndex, sName)
  • GetPageIndex(pageName)
  • GetPageName(pageIndex)
  • GetPageTitle(pageIndex)
  • GetPageWindow(sTag)
  • GetPageWindow(pageIndex)
  • GetRowCount()
  • GetTooltip(pageIndex, tooltip, maxLength)
  • GetTop()
  • HidePage(pageIndex)
  • HideWindow(hWnd)
  • HideWindowAndLabel(hWnd)
  • IndexFromPoint(nX, nY)
  • InitializeFormPages()
  • Insert(nIndex, bRedraw)
  • IsAssociatedWithTab(nIndex, hWnd)
  • IsEnabled(nIndex)
  • IsWindowVisible(hWnd)
  • Next()
  • PageCount()
  • Prev()
  • Redraw()
  • ReloadTabs()
  • RemovePage(pageIndex)
  • RenamePage(pageIndex, pageName)
  • ResizePages()
  • ResizePages(rect)
  • SendMsgToAssociated(nIndex, nMsg, wParam, lParam)
  • SetActivePage(pageIndex)
  • SetControlTabPages(control, tabNames)
  • SetCurrentPage(sTag)
  • SetImage(nIndex, tResource)
  • SetImage(nIndex, image)
  • SetLabel(nIndex, sLabel, bRedraw)
  • SetName(nIndex, sName)
  • SetPageSize(nLeft, nTop, nRight, nBottom, bResize)
  • SetPageSize(rect, bResize)
  • SetPageTitle(pageIndex, pageTitle)
  • SetTooltip(pageIndex, tooltip)
  • SetWorkspaceBoundary(nMinWidth, nMinHeight)
  • ShowPage(pageIndex)
  • ShowSiblings()
  • ShowWindow(hWnd)
  • ShowWindowAndLabel(hWnd)
  • Update()
  • Events
  • SelectedIndexChanged
  • SelectedIndexChanging
  • Implements
  1. PPJ.Web.49
  2. QO

SalQuickTabs

PPJ.Runtime.Windows.QO.SalQuickTabs

PreviousQONextSalQuickTabsDialog

Last updated 2 years ago

Namespace: PPJ.Runtime.Windows.QO

Assembly: PPJ.Web.49 (4.9.0.0)

Tab frame window class. Instances of this class should be created as children of cQuickTabsForm objects or cQuickTabsDialog objects.

public class SalQuickTabs : SalUserControl, IExtenderProvider
Public Class SalQuickTabs
    Inherits SalUserControl
    Implements IExtenderProvider

Constructors

SalQuickTabs()

Default Constructor.

Properties

Alignment

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

AllowUserToMoveTabs

: Returns/Sets whether the user can drag a tab to a different position. (Default: False)

ImageList

Methods

Append a tab. Redraw is optional Return an index

Parameter
Type
Description

bRedraw

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.

Parameter
Type
Description

sTag

sForm

hWnd

Adds a tab page at a valid index position.

Parameter
Type
Description

pageIndex

pageName

Adds a tab page at a valid index position. You can include an image and a tooltip.

Parameter
Type
Description

pageIndex

pageName

imageFile

tooltip

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

Associates a child to a tab page.

Parameter
Type
Description

pageIndex

child

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.

Parameter
Type
Description

pageIndex

form

Activate a tab

Parameter
Type
Description

nIndex

bRedraw

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

Clear all tabs from the frame. Redraw is optional.

Parameter
Type
Description

bRedraw

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.

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.

Parameter
Type
Description

sTag

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

Parameter
Type
Description

nIndex

bRedraw

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.

Parameter
Type
Description

sTag

Detaches a child window from the specified tab control.

Parameter
Type
Description

pageIndex

Disables a tab page.

Parameter
Type
Description

pageIndex

Disassociates a child with a tab page.

Parameter
Type
Description

pageIndex

child

Enable or disable a tab

Parameter
Type
Description

nIndex

bEnable

Enables a tab page

Parameter
Type
Description

pageIndex

Find a tab give a tab label

Parameter
Type
Description

sLabel

Find a tab give a tab name

Parameter
Type
Description

sName

Finds the tab frame window on a form or dialog box

Parameter
Type
Description

hWndForm

Returns the control associated with the handle.

Parameter
Type
Description

hWnd

Gets the current active tab page.

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

Parameter
Type
Description

nLeft

nTop

nRight

nBottom

Parameter
Type
Description

nLeft

nTop

nRight

nBottom

Parameter
Type
Description

nLeftPixels

nTopPixels

nRightPixels

nBottomPixels

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

Parameter
Type
Description

control

Get the count of tabs

Parameter
Type
Description

nIndex

sLabel

Parameter
Type
Description

nLeft

nTop

nRight

nBottom

Parameter
Type
Description

nIndex

sName

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

Parameter
Type
Description

pageName

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

Parameter
Type
Description

pageIndex

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

Parameter
Type
Description

pageIndex

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.

Parameter
Type
Description

sTag

Gets the window handle of the specified tab page.

Parameter
Type
Description

pageIndex

Retrieve the number rows of tabs

Parameter
Type
Description

pageIndex

tooltip

maxLength

Get the index of the active tab

Hides a tab page.

Parameter
Type
Description

pageIndex

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.

Parameter
Type
Description

hWnd

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.

Parameter
Type
Description

hWnd

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

Parameter
Type
Description

nX

nY

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

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

Parameter
Type
Description

nIndex

The index where to insert the new tab page.

bRedraw

Not used.

Indicate whether a child window is associated with a tab

Parameter
Type
Description

nIndex

hWnd

Indicate whether a tab is enabled

Parameter
Type
Description

nIndex

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

Parameter
Type
Description

hWnd

Activate the next tab

Returns the number of tab pages.

Activate the previous tab

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

Reloads the original tabs configuration.

Removes a tab page.

Parameter
Type
Description

pageIndex

Renames a tab page.

Parameter
Type
Description

pageIndex

pageName

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

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

Parameter
Type
Description

rect

Send a message to all child windows associated with a tab

Parameter
Type
Description

nIndex

nMsg

wParam

lParam

Activates a tab specified by a particular tab index.

Parameter
Type
Description

pageIndex

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

Parameter
Type
Description

control

tabNames

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.

Parameter
Type
Description

sTag

Sets the image to associate with the tab.

Parameter
Type
Description

nIndex

tResource

Sets the image to associate with the tab.

Parameter
Type
Description

nIndex

image

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

Parameter
Type
Description

nIndex

sLabel

bRedraw

Associate a name with a tab

Parameter
Type
Description

nIndex

sName

Defines the location and size of form pages.

Parameter
Type
Description

nLeft

nTop

nRight

nBottom

bResize

Defines the location and size of form pages.

Parameter
Type
Description

rect

bResize

Sets the title of the specified tab page.

Parameter
Type
Description

pageIndex

pageTitle

Sets the tooltip text on the specified tab page. Tooltip text appears only on tab selector, not on a tab container window.

Parameter
Type
Description

pageIndex

tooltip

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

Parameter
Type
Description

nMinWidth

nMinHeight

Shows a tab page

Parameter
Type
Description

pageIndex

Show or hide child windows based on the current tab

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

Parameter
Type
Description

hWnd

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

Parameter
Type
Description

hWnd

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

Events

Implements

Name
Description

All Sal windows (Child windows, Forms, Dialogs and MDIs) implement this interface.

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

ItemSize

: Gets or sets the fixed size of the tab buttons. It's used when the value of is or .

Orientation

: Gets or sets a value indicating the horizontal or vertical orientation of the tabs.

PageRectangle

: Returns the display area of the tab pages.

SelectedIndex

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

SelectedTab

: Returns/Sets the selected tab page.

ShowVisibilityMenu

: Shows/Hides the tab visibility menu. (Default: False)

SizeMode

: Gets or sets whether the tab buttons should fill the control's size, or placed in the center, or use the size set in .

TabControl

: Returns the wrapped tab control

TabPages

: Returns the collection of tab pages.

TabSetup

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

Add(bRedraw)

Returns: .

AddPage(sTag, sForm, hWnd)

Returns: .

AddPage(pageIndex, pageName)

Returns: .

AddPageEx(pageIndex, pageName, imageFile, tooltip)

Returns: .

ApplyFormPageChanges()

Returns: .

AssociateChild(pageIndex, child)

Returns: .

AttachWindow(pageIndex, form)

Returns: .

BringToTop(nIndex, bRedraw)

Returns: .

CancelMode()

Returns: .

Clear(bRedraw)

Returns: .

ClearPages()

Returns: .

CreatePage(sTag)

Returns: .

Delete(nIndex, bRedraw)

Returns: .

DestroyPage(sTag)

Returns: .

DetachWindow(pageIndex)

Returns: .

DisablePage(pageIndex)

Returns: .

DisassociateChild(pageIndex, child)

Returns: .

Enable(nIndex, bEnable)

Returns: .

EnablePage(pageIndex)

Returns: .

FindLabel(sLabel)

Returns: .

FindName(sName)

Returns: .

FindTabFrame(hWndForm)

Returns: .

FromHandle(hWnd)

Returns: .

GetActivePage()

Returns: .

GetClicked()

Returns: .

GetContentsBorderRect(nLeft, nTop, nRight, nBottom)

Returns: .

GetContentsRect(nLeft, nTop, nRight, nBottom)

Returns: .

GetContentsRectPixels(nLeftPixels, nTopPixels, nRightPixels, nBottomPixels)

Returns: .

GetControlTabPages(control)

Returns: .

GetCount()

Returns: .

GetLabel(nIndex, sLabel)

Returns: .

GetMarginRect(nLeft, nTop, nRight, nBottom)

Returns: .

GetName(nIndex, sName)

Returns: .

GetPageIndex(pageName)

Returns: .

GetPageName(pageIndex)

Returns: .

GetPageTitle(pageIndex)

Returns: .

GetPageWindow(sTag)

Returns: .

GetPageWindow(pageIndex)

Returns: .

GetRowCount()

Returns: .

GetTooltip(pageIndex, tooltip, maxLength)

Returns: .

GetTop()

Returns: .

HidePage(pageIndex)

Returns: .

HideWindow(hWnd)

Returns: .

HideWindowAndLabel(hWnd)

Returns: .

IndexFromPoint(nX, nY)

Returns: .

InitializeFormPages()

Returns: .

Insert(nIndex, bRedraw)

Returns: .

IsAssociatedWithTab(nIndex, hWnd)

Returns: .

IsEnabled(nIndex)

Returns: .

IsWindowVisible(hWnd)

Returns: .

Next()

Returns: .

PageCount()

Returns: .

Prev()

Returns: .

Redraw()

Returns: .

ReloadTabs()

Returns: .

RemovePage(pageIndex)

Returns: .

RenamePage(pageIndex, pageName)

Returns: .

ResizePages()

Returns: .

ResizePages(rect)

Returns: .

SendMsgToAssociated(nIndex, nMsg, wParam, lParam)

Returns: .

SetActivePage(pageIndex)

Returns: .

SetControlTabPages(control, tabNames)

SetCurrentPage(sTag)

Returns: .

SetImage(nIndex, tResource)

Returns: .

SetImage(nIndex, image)

Returns: .

SetLabel(nIndex, sLabel, bRedraw)

Returns: .

SetName(nIndex, sName)

Returns: .

SetPageSize(nLeft, nTop, nRight, nBottom, bResize)

Returns: .

SetPageSize(rect, bResize)

Returns: .

SetPageTitle(pageIndex, pageTitle)

Returns: .

SetTooltip(pageIndex, tooltip)

Returns: .

SetWorkspaceBoundary(nMinWidth, nMinHeight)

Returns: .

ShowPage(pageIndex)

Returns: .

ShowSiblings()

Returns: .

ShowWindow(hWnd)

Returns: .

ShowWindowAndLabel(hWnd)

Returns: .

Update()

Returns: .

SelectedIndexChanged

Fired when the selected tab has changed.

SelectedIndexChanging

Fired when the selected tab is about to change.

ImageList
Orientation
Rectangle
Int32
TabPage
Boolean
TabSizeMode
ItemSize
TabControl
SalTabPageCollection
String
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalWindowHandle
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalNumber
SalWindowHandle
SalQuickTabs
SalNumber
SalNumber
SalBoolean
SalBoolean
SalBoolean
String
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalString
SalString
SalWindowHandle
SalWindowHandle
SalNumber
SalNumber
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalNumber
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
EventHandler
TabCancelEventHandler
Size
SizeMode
Fixed
Center
SalBoolean
SalString
SalString
SalWindowHandle
SalNumber
SalString
SalNumber
SalString
SalString
SalString
SalNumber
Control
SalNumber
Control
SalNumber
SalBoolean
SalBoolean
SalString
SalNumber
SalBoolean
SalString
SalNumber
SalNumber
SalNumber
Control
SalNumber
SalBoolean
SalNumber
SalString
SalString
SalWindowHandle
SalWindowHandle
SalNumber&
SalNumber&
SalNumber&
SalNumber&
SalNumber&
SalNumber&
SalNumber&
SalNumber&
SalNumber&
SalNumber&
SalNumber&
SalNumber&
Control
SalNumber
SalString&
SalNumber&
SalNumber&
SalNumber&
SalNumber&
SalNumber
SalString&
SalString
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalString&
SalNumber
SalNumber
SalWindowHandle
SalWindowHandle
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalWindowHandle
SalNumber
SalWindowHandle
SalNumber
SalNumber
SalString
Rectangle
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
Control
String
SalString
SalNumber
SalResource
SalNumber
Image
SalNumber
SalString
SalBoolean
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
Rectangle
SalBoolean
SalNumber
SalString
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalWindowHandle
SalWindowHandle
ISalWindow
TabAlignment
Boolean