Tab Operations
Functions Introduced
Use the function
ProUITabAnchorSet() to set the position of the Tab with respect to a given anchor location. This function is applicable only if the parent of the Tab is a drawing area.
Use the function
ProUITabSizeSet() to set the size of the Tab. This field is used only if the parent is a drawing area. The function will fail, if you specify a value smaller than the minimum size for the input arguments
width or
height.
Use the function
ProUITabMinimumsizeGet() to retrieve the minimum size of the width and height of the tab in pixels. Use this function only if the parent is a drawing area.
Use the function
ProUITabPositionSet() to set the position to the Tab with respect to its parent. This field is used only if the parent is a drawing area.
Use the function
ProUITabPositionGet() to get the position to the Tab with respect to its parent. This field is used only if the parent is a drawing area.
Use the function
ProUITabSizeGet() to get the size of the Tab. This field is used only if the parent is a drawing area.
Use the function
ProUITabLayoutAdd() to add a new layout to the tab. Even if the layout has a label assigned, you must set the tab labels with
ProUITabLabelsSet() for the decorated tab to show the appropriate labels.
Use the function
ProUITabLayoutsInsert() to insert a new layout after an existing component in the tab. Even if the layouts have labels assigned, you must set the tab labels with
ProUITabLabelsSet() for the decorated tab to show the appropriate labels.
Use this function
ProUITabItemInsert() to insert a new item after an existing one in the tab. You can set the tab labels with the
ProUITabLabelsSet() function (even if the layouts have already been assigned labels), so that the decorated tab displays the correct labels. The input arguments are:
• dialog—Specifies the name of the dialog box that contains the tab.
• component—Specifies the name of the tab component.
• sibling—Inserts the new item after the specified item name.
• name—Specifies the name of the new item.
Use this function
ProUITabItemDelete() to delete an item from the tab. The input arguments are:
• dialog—Specifies the name of the dialog that contains tab.
• component—Specifies the name of the tab component.
• name—Specifies the name of the new item.
Use the function
ProUITabItemNameSet() to set a new name to the item in the tab.
Use the function
ProUITabItemLabelSet() to set the label of the item in the tab.
Use the function
ProUITabItemImageSet() to set the image of the item in the tab.
Use the function
ProUITabItemHelptextStringSet() to set the text that should be displayed when the cursor is over the item in the tab.
Use the function
ProUITabItemLabelGet() to get the label of the item in the tab.
Use the function
ProUITabItemImageGet() to get the image of the item in the tab.
Use the function
ProUITabItemHelptextStringGet() to get the text that is displayed when the cursor is over the item in the tab.
Use the function
ProUITabItemExtentsGet() to get the boundary of the item that is in the tab relative to the top left corner of the dialog.