
SelectBar
SelectBar Methods
| SelectBar() | Constructor for the SelectBar class |
| AddSeparator() | Abstract method to add a separator to the select bar |
| NumSeparators() | Abstract method to return number of separators in the select bar |
| NumItems() | Abstract method to return number of "select items" attached to the select bar |
Derived Classes
See Also
Class Hierarchy, Dialog, Frame, SelectItem
public method SelectBar(Window Parent)
Parameters
Parent
Parent window of the select bar
Return Value
None
Description
Constructor for the SelectBar class. The parent must be specified, and it must be one of several valid window types. The derived classes (MenuBar and ToolBar) specify which window types are valid as a parent.
SelectBar Class
public abstract method<int> AddSeparator(int Index = 0)
Parameters
Index
Will be added before the one based index. Zero means add to end.
Return Value
One based index where separator was added
Description
This abstract method adds a separator to the select bar. The specified index is one based, and the separator gets added before that index. If the index is zero (default), the separator gets added to the end.
SelectBar Class
public abstract method<int> NumSeparators()
Parameters
None
Return Value
Number of separators in the bar
Description
This abstract method returns the number of separators which have been added to the select bar.
SelectBar Class
public abstract method<int> NumItems()
Parameters
None
Return Value
Number of "SelectItem" objects attached to bar
Description
This abstract method returns the number of "SelectItem" objects which are attached to this select bar object. It does not include separators.
SelectBar Class