The VisComboBoxBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VisComboBoxBase |
Default Constructor.
|
Methods
Name | Description | |
---|---|---|
AddColor |
Adds an item to the list and displays it in the specified color.
| |
AddColorValue |
Adds an item to the list, displays it in the specified color and associates the specified value with the item.
| |
AddFont |
Adds an item to the list control and displays it in the specified font.
| |
AddFontValue |
Adds a new item with the speicifed font and value.
| |
AddListItem |
Adds a string to a list box or combo box.
(Inherited from SalComboBox.) | |
AddPicture |
Adds an item to the list control and specified an image for the
normal and selected state.
| |
AddPictureValue |
Adds an item to the list control and specified an image for the
normal and selected state, and a value to associate with the item.
| |
BringWindowToTop |
Brings a window to the top of all overlapping windows.
(Inherited from SalComboBox.) | |
CenterWindow |
Centers a window. If the window is a top-level window, it centers it on the
desktop. If the window is a child window, it centers it on top of its parent.
(Inherited from SalComboBox.) | |
Clear |
Clears the value from a data field, multiline field, or table window column.
(Inherited from SalComboBox.) | |
ClearCursor |
Clears a window's cursor.
(Inherited from SalComboBox.) | |
ClearList |
Deletes all entries from a list box or combo box.
(Inherited from SalComboBox.) | |
Collapse |
Collapses all descendent items.
| |
DeleteChild |
Deletes the child item from the tree control.
| |
DeleteDescendents |
Deletes all descendants (children, grandchildren, and so on) of the specified child.
| |
DeleteListItem |
Deletes a list box or combo box entry.
(Inherited from SalComboBox.) | |
Demote |
Moves an item and all descendants right in the outline by making the
item become the last child of the previous sibling.
| |
DestroyWindow |
Destroys a form window, a top-level table window, or a modeless dialog box created
with SalCreateWindow.
(Inherited from SalComboBox.) | |
DisableItem |
Disables the specified item.
| |
DisableWindow |
Disables keyboard and mouse input to a window. If the window contains text (for example,
a push button), the text is grayed. If the window is a data field, it cannot
receive the focus.
(Inherited from SalComboBox.) | |
DisableWindowAndLabel |
Disables keyboard and mouse input to a window and grays out its associated label.
A label is the label control that immediately precedes the window in the outline.
The label control must have a mnemonic. If the window contains text (for
example, a push button), the text is grayed. If the window is a data field, it cannot
receive the focus.
(Inherited from SalComboBox.) | |
DragDrop |
Moves the source item to the new location, providing support for dragging tree items.
| |
EnableItem |
Enables the specified item.
| |
EnableWindow |
Enables keyboard and mouse input to a window.
(Inherited from SalComboBox.) | |
EnableWindowAndLabel |
Enables keyboard and mouse input to a window and enables its associated label as
well. A label is the label control that immediately precedes the window in the
outline.
(Inherited from SalComboBox.) | |
EnumChildren |
Enumerates child item handles for a specified item.
| |
EnumDescendents |
Enumerates descendent (children, grandchildren, and so on) item handles for a specified item.
| |
Expand |
Expands an outline one level at the index specified.
| |
ExpandDescendents |
Displays all descendants of an item.
| |
FindChild |
This function finds a child window of a given name in the specified window.
(Inherited from SalComboBox.) | |
FindItemValue |
Finds the item with the specified value in the descendants of
the specified node.
| |
FormUnitsToPixels |
Computes the number of pixels in the number of form units. Form units
are a unit of measurement used by functions which move and position
objects. Form units are computed using physical units (pixels) in conjunction
with the window's font size.
(Inherited from SalComboBox.) | |
FreeChild |
Frees memory for the item specified and for all its descendants.
| |
FreeDescendents |
Frees memory for all descendants of the item specified.
| |
GetClassName |
Return the name of a window's class as a string.
(Inherited from SalComboBox.) | |
GetColor |
Returns the current color of the list item.
| |
GetControlType |
Returns an object's type.
(Inherited from SalComboBox.) | |
GetDataLength |
Returns the maximum length of a data field, multiline text field, or table window
column.
(Inherited from SalComboBox.) | |
GetDataType |
Returns a data field's or table window column's data type.
(Inherited from SalComboBox.) | |
GetFirstChild |
Returns the handle of the first child window of the specified type. You can use this
function to get the handles of MDI child windows.
(Inherited from SalComboBox.) | |
GetFlags |
Returns the item's flags.
| |
GetFont(SalNumber) |
Returns the current font of the list control item.
| |
GetFont(SalString%, SalNumber%, SalNumber%) |
Gets a window's font name, size, and enhancements.
(Inherited from SalComboBox.) | |
GetFormat()()()() |
Gets the picture format of a data field or table window column.
(Inherited from SalComboBox.) | |
GetFormat(SalString%) |
Gets the picture format of a data field or table window column.
(Inherited from SalComboBox.) | |
GetFormatCode |
Returns the current format of a data field or table window column.
(Inherited from SalComboBox.) | |
GetFormattedText(SalBoolean) |
Copies the contents of a data field or table window column to a string. This function
also lets you copy the format of the data.
(Inherited from SalComboBox.) | |
GetFormattedText(SalString%, SalBoolean) |
Copies the contents of a data field or table window column to a string. This function
also lets you copy the format of the data.
(Inherited from SalComboBox.) | |
GetIndexFromPoint |
Returns the index of the item at the indicated screen coordinates.
| |
GetInputMask()()()() |
Gets the input mask of a data field or table window column.
(Inherited from SalComboBox.) | |
GetInputMask(SalString%) |
Gets the input mask of a data field or table window column.
(Inherited from SalComboBox.) | |
GetItemColor |
Retrieves the color associated with an outline item.
| |
GetItemData |
Returns information about the specified item.
| |
GetItemFlags |
Returns the items's flags.
| |
GetItemFont |
Retrieves the font associated with an outline item.
| |
GetItemHandle |
Retrieves the item handle based on an index specified.
| |
GetItemIndex |
Retrieves the index associated with an outline item based on an item handle.
| |
GetItemPicture |
Returns the pictures for the outline item.
| |
GetItemText |
Returns the text for the outline item.
| |
GetItemValue |
Returns the value saved with the outline item.
| |
GetLabel |
Retrieves the window handle of the label (label control) that is associated with the hWndTarget parameter.
There must be a mnemonic in that label, and it must immediately precede hWndTarget in the outline, or this function will fail.
(Inherited from SalComboBox.) | |
GetLabelText(SalNumber) |
Retrieves the text of the label associated to a control. Important: The label control does not
require a mnemonic for the functions listed above to operate.
(Inherited from SalComboBox.) | |
GetLabelText(SalString%, SalNumber) |
Retrieves the text of the label associated to a control. Important: The label control does not
require a mnemonic for the functions listed above to operate.
(Inherited from SalComboBox.) | |
GetLevel |
Returns the indentation level of the specified item.
| |
GetListItemsCount |
Returns the number of list box or combo box entries.
(Inherited from SalComboBox.) | |
GetListItemState |
Determines whether the specified list box or combo box entry is selected.
(Inherited from SalComboBox.) | |
GetListItemText(SalNumber) |
Returns the text of the specified item.
(Inherited from SalComboBox.) | |
GetListItemText(SalNumber, SalString%) |
Returns the text of the specified item.
(Inherited from SalComboBox.) | |
GetListItemTextLength |
Returns the length of a list box or combo box entry.
(Inherited from SalComboBox.) | |
GetListSelectedFile()()()() |
Fetches the selected directory or file name from a list box or combo box.
(Inherited from SalComboBox.) | |
GetListSelectedFile(SalString%) |
Fetches the selected directory or file name from a list box or combo box.
(Inherited from SalComboBox.) | |
GetListSelectedIndex |
Returns the index of the selected entry in a combo box or single-selection list box.
(Inherited from SalComboBox.) | |
GetListSelectedItems |
Returns an array of index numbers of selected list box entries.
(Inherited from SalComboBox.) | |
GetListSelectedItemsCount |
Returns the number of selected entries in a multiple-selection list box. Specify
single- or multiple-selection in the list box's customizer.
(Inherited from SalComboBox.) | |
GetLocation |
Returns a window's current position on the X and Y axes.
(Inherited from SalComboBox.) | |
GetName()()()() |
Gets the name of an object.
(Inherited from SalComboBox.) | |
GetName(SalString%) |
Gets the name of an object.
(Inherited from SalComboBox.) | |
GetNextChild |
Returns the handle of the next child window that matches a specified type.
(Inherited from SalComboBox.) | |
GetNextSibling |
Retrieves the item handle for the next sibling of the specified item.
| |
GetParent()()()() |
Returns the handle of an object's parent window.
(Inherited from SalComboBox.) | |
GetParent(SalNumber) |
Retrieves the item handle for the parent of the specified item.
| |
GetPicture |
Returns the pictures associated with the item.
| |
GetPrevSibling |
Retrieves the item handle for the previous sibling of the specified item.
| |
GetProperty(SalString) |
Gets the value of a named property.
(Inherited from SalComboBox.) | |
GetProperty(SalString, SalString%) |
Gets the value of a named property.
(Inherited from SalComboBox.) | |
GetRoot |
Returns the handle for the root node.
| |
GetSize |
Returns a window's size.
(Inherited from SalComboBox.) | |
GetStyle |
Returns the style flags for the control.
| |
GetText(SalNumber) |
Retrieves the text of a window.
(Inherited from SalComboBox.) | |
GetText(SalString%, SalNumber) |
Retrieves the text of a window.
(Inherited from SalComboBox.) | |
GetTextRectangle |
Returns the rectangle for the specified tree node.
| |
GetTextUnmasked()()()() |
Unmasks the text from a masked edit control.
(Inherited from SalComboBox.) | |
GetTextUnmasked(SalString%) |
Unmasks the text from a masked edit control.
(Inherited from SalComboBox.) | |
GetWindowColor |
Gets a window's color.
(Inherited from SalComboBox.) | |
GetWindowState |
Returns a window's current state.
(Inherited from SalComboBox.) | |
HideWindow |
Hides a window.
(Inherited from SalComboBox.) | |
HideWindowAndLabel |
Hides a window and its associated label.
(Inherited from SalComboBox.) | |
InsertColor |
Inserts an item to the list control at the specified position and displays it in the specified color.
| |
InsertColorValue |
Inserts an item to the list control at the specified position, displays it in the specified color and
associates the specified value to the item.
| |
InsertFont |
Adds an item to a list control at the specified index and displays it in the specified font.
| |
InsertFontValue |
Adds an item to the list control, displays it in the specified font, and
associates the specified value with the item.
| |
InsertListItem |
Inserts an entry into a list box or combo box at a specified position.
(Inherited from SalComboBox.) | |
InsertPicture |
Inserts an item at the specified postion and specifies an image for
the normal and selected state.
| |
InsertPictureValue |
Inserts an item at the specified postion and specifies an image for
the normal and selected state, and associates a value to the item.
| |
InvalidateWindow |
Causes a window to be repainted.
(Inherited from SalComboBox.) | |
IsDerivedFromClass |
Determines whether a window is an instance of the specified class.
(Inherited from SalComboBox.) | |
IsEmpty |
Verifies whether a data field, multiline text field, or table window column is null
or empty.
(Inherited from SalComboBox.) | |
IsEnabled |
Determines whether a window is enabled for mouse and keyboard input.
(Inherited from SalComboBox.) | |
IsInputKey |
#BugFix for .NET 1.1 and 2.0
The Enter key is considered an input key when the list is dropped down without
considering that when the DropDownStyle is set to Simple the listbox is always
dropped down and cannot be closed up.
(Inherited from SalComboBox.) | |
IsModified |
Returns the setting of the Field Edit Flag for a data field, multiline field, combo
box, table window's context row cell, or picture.
(Inherited from SalComboBox.) | |
IsValid |
Validates the contents of a data field or table window column using the current profile.
(Inherited from SalComboBox.) | |
IsValidDateTime |
Verifies whether a data field, multiline text field, or table window column contains
a valid date/time value. For multiline text fields, the date/time value must
be the only item in the field.
(Inherited from SalComboBox.) | |
IsValidDecimal |
Verifies whether a data field, multiline text field, or table window column contains
a valid decimal value. For multiline text fields, the decimal value must be
the only item in the field.
(Inherited from SalComboBox.) | |
IsValidInteger |
Verifies whether a data field, multiline text field, or table window column contains
a valid integer value. For multiline text fields, the integer value must be
the only item in the field.
(Inherited from SalComboBox.) | |
IsValidNumber |
Verifies whether a data field, multiline text field, or table window column contains
a valid numeric value. Valid numbers are integers or floating point numbers,
negative and positive. For multiline text fields, the numeric value must be the
only item in the field.
(Inherited from SalComboBox.) | |
IsVisible |
Determines whether a window is currently visible.
(Inherited from SalComboBox.) | |
KillTimer |
Destroys an object's system timer.
(Inherited from SalComboBox.) | |
LoadChild |
Inserts an item as the last child of the specified parent.
| |
LoadChildren |
Inserts multiple items as the last children of the specified parent item.
| |
LoadOutline |
Deserializes the entire outline tree from the specified string.
| |
LoadOutlineFile |
Loads the serialized outline structure from the file and creates the new items
as children of the specified node.
| |
LoadSibling |
Loads a new tree node as a sibling of the specified item.
| |
MoveDown |
Moves the specified item down one position in the tree.
| |
MoveUp |
Moves an item and its descendants up in the list.
| |
MoveWindow |
Moves a window a given number of form units on the X and Y axes relative to its current
position.
(Inherited from SalComboBox.) | |
OnDoubleClick | (Inherited from SalComboBox.) | |
OnDropDown | (Inherited from SalComboBox.) | |
OnHandleCreated | (Inherited from SalComboBox.) | |
OnKeyDown | (Inherited from SalComboBox.) | |
OnKeyPress | (Inherited from SalComboBox.) | |
OnReadOnlyChanged |
Called when the ReadOnly property has changed.
(Inherited from SalComboBox.) | |
OnTextChanged | (Inherited from SalComboBox.) | |
PixelsToFormUnits |
Computes the number of form units based on the number of pixels.
Form units are a unit of measurement used by functions that move and position objects.
Form units are computed using physical units (pixels) in conjunction
with a window's font sizes.
(Inherited from SalComboBox.) | |
PopulateList(SalSqlHandle, SalString) |
Populates a list box or combo box with a result set. SalListPopulate overrides any
settings made with SalListSetTabs. If the SELECT statement returns data from multiple
columns, each column's data displayed in a list box is separated by tabs.
However, due to a Microsoft Windows limitation, each column's data displayed in
a combo box is separated by a single '|' character. There is no space between
one column's data, the separator character, and another column's data.
(Inherited from SalComboBox.) | |
PopulateList(SalSqlHandle, SalString, WhenSqlErrorHandler) |
Populates a list box or combo box with a result set. SalListPopulate overrides any
settings made with SalListSetTabs. If the SELECT statement returns data from multiple
columns, each column's data displayed in a list box is separated by tabs.
However, due to a Microsoft Windows limitation, each column's data displayed in
a combo box is separated by a single '|' character. There is no space between
one column's data, the separator character, and another column's data.
(Inherited from SalComboBox.) | |
PopulateListFiles |
Populates a list box or combo box with a directory of files.
(Inherited from SalComboBox.) | |
PostMessage |
Posts the specified message to a window by adding nMsg to hWndReceiver's message
queue.
(Inherited from SalComboBox.) | |
ProcessDialogKey | (Inherited from SalComboBox.) | |
Promote |
Moves an item and its descendants left in the outline by making it
the last sibling of the parent item.
| |
SaveOutline |
Serializes the entire outline tree into the specified string.
| |
SendMessage |
Sends the specified message to a window. SalSendMsg does not return until the processing
for the message is complete.
(Inherited from SalComboBox.) | |
SendMessageToChildren |
Sends a message to all child items of a form window, dialog box, table window, or
MDI window.
(Inherited from SalComboBox.) | |
SetColor |
Sets the color of a list item.
| |
SetContextMenu(Type, SalNumber) |
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalComboBox.) | |
SetContextMenu(SalString, SalNumber) |
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalComboBox.) | |
SetCursor(Int32, SalNumber) |
Sets a window's cursor.
(Inherited from SalComboBox.) | |
SetCursor(SalResourceCursor, SalNumber) |
Sets a window's cursor.
(Inherited from SalComboBox.) | |
SetCursor(SalString, SalNumber) |
Sets a window's cursor from a string variable.
(Inherited from SalComboBox.) | |
SetCursorFile |
Sets an application-defined cursor for the specified window. Use this function to
set the cursor from an image stored in a file.
(Inherited from SalComboBox.) | |
SetDataLength |
Sets a limit on the number of characters that a user can enter into a data field,
multiline text field, or table window column.
(Inherited from SalComboBox.) | |
SetFlags |
Sets the item's flags.
| |
SetFocus |
Sets the focus to a specified window.
(Inherited from SalComboBox.) | |
SetFont(SalNumber, SalNumber) |
Sets the font of the list control item.
| |
SetFont(SalString, SalNumber, SalNumber) |
Sets a window's font, font size, and font enhancements.
(Inherited from SalComboBox.) | |
SetFormat |
Sets the picture format of a data field or table window column.
(Inherited from SalComboBox.) | |
SetFormatCode |
Sets a data field's or table window column's format.
(Inherited from SalComboBox.) | |
SetIndent |
Gets or sets the distance to indent each of the child tree node levels.
| |
SetInputMask |
Sets the input mask of a data field or table window column.
(Inherited from SalComboBox.) | |
SetItemColor |
Sets the color of the outline item.
| |
SetItemData |
Updates the specified item.
| |
SetItemFlags |
Sets the item's flags.
| |
SetItemFont |
Sets the font of the outline item.
| |
SetItemPicture |
Assigns new bitmaps to the specified item.
| |
SetItemText |
Sets the text of the outline item.
| |
SetItemValue |
Sets the value associated to the outline item.
| |
SetLabelText |
Sets the text of the associaetd label control.
(Inherited from SalComboBox.) | |
SetListRedraw |
Redraws entries in a list box or combo box, or prevents them from being redrawn.
(Inherited from SalComboBox.) | |
SetListSelectedIndex |
Selects or deselects a combo box or single-selection list box entry.
(Inherited from SalComboBox.) | |
SetListSelectedItems |
Selects or deselects a combo box or multiple-selection list box entry.
(Inherited from SalComboBox.) | |
SetListSelectedText |
Finds and selects a combo box or single-selection list box entry.
(Inherited from SalComboBox.) | |
SetListTabStops |
Sets tabs in a list box.
(Inherited from SalComboBox.) | |
SetLocation |
Moves a window to a new position (x, y) on the X and Y axes.
(Inherited from SalComboBox.) | |
SetModified |
Sets or clears the field edit flag for an editable data field, combo box, multiline
text field, table window column, or picture.
(Inherited from SalComboBox.) | |
SetOutlineRedraw |
Enables or disables drawing.
| |
SetPicture |
Changes the normal and selected images for the specified item.
| |
SetProperty |
Sets the value of a named property.
(Inherited from SalComboBox.) | |
SetSize |
Resizes a window.
(Inherited from SalComboBox.) | |
SetStyle |
Sets the style flags for the control.
| |
SetText(SalString) |
Sets the text of a window.
(Inherited from SalComboBox.) | |
SetText(SalString, SalBoolean) |
Copies a string to a data field or table window column. After copying the string
to the field, formats the string.
(Inherited from SalComboBox.) | |
SetTimer |
Creates a system timer for a given object. When a timer event occurs, sends
SAM_Timer messages to the object in specified intervals. Timers are a limited
global resource. Your application must check the value returned by SalTimerSet
to verify that the timer was created.
(Inherited from SalComboBox.) | |
SetWindowColor |
Sets a window's color.
(Inherited from SalComboBox.) | |
SetVisibleCore | (Inherited from SalComboBox.) | |
ShowOutline |
Expands list items up to the specified level.
| |
ShowWindow |
Makes a window visible.
(Inherited from SalComboBox.) | |
ShowWindowAndLabel |
Makes a window and its associated label visible. A label is the label control that
immediately precedes the window in the outline.
(Inherited from SalComboBox.) | |
TrackPopupMenu(Type, SalNumber, SalNumber, SalNumber) |
Creates pop-up menus at runtime.
(Inherited from SalComboBox.) | |
TrackPopupMenu(SalString, SalNumber, SalNumber, SalNumber) |
Creates pop-up menus at runtime.
(Inherited from SalComboBox.) | |
UpdateWindow |
Forces the update of a window.
(Inherited from SalComboBox.) | |
Validate()()()() |
Validates and formats a data field's or table window column's contents.
(Inherited from SalComboBox.) | |
Validate(SalNumber) |
Validates and formats a data field's or table window column's contents.
(Inherited from SalComboBox.) | |
WinHelp |
Starts the Windows help system.
(Inherited from SalComboBox.) | |
WndProc |
Overrides WndProc to generate VTM_Click.
(Overrides SalComboBox..::..WndProc(Message%).) | |
Yield |
Processes messages for this control.
(Inherited from SalComboBox.) |
Operators
Name | Description | |
---|---|---|
ImplicitWideningImplicitImplicitImplicit(VisComboBoxBase to VisListBoxExtension) |
Multiple Inheritance: Overloaded casting operator.
|
Fields
Name | Description | |
---|---|---|
_derived |
Instance of the derived object that inherits this class
as a second base in a multiple inheritance tree.
(Inherited from SalComboBox.) |
Properties
Name | Description | |
---|---|---|
DesigntimeVisible |
Returns true if the object was designed as visible.
(Inherited from SalComboBox.) | |
EditMask |
Indicates the edit mask to apply to the text while editing.
(Inherited from SalComboBox.) | |
hFont |
Multiple Inheritance: Wrapper property.
| |
hItem |
Multiple Inheritance: Wrapper property.
| |
hPicNormal |
Multiple Inheritance: Wrapper property.
| |
hPicSelect |
Multiple Inheritance: Wrapper property.
| |
Label |
Returns/Sets the label associated with this control.
(Inherited from SalComboBox.) | |
Modified |
Returns/Sets the modified flag.
(Inherited from SalComboBox.) | |
NamedProperties |
Returns the collection of named properties.
(Inherited from SalComboBox.) | |
nColor |
Multiple Inheritance: Wrapper property.
| |
nIndex |
Multiple Inheritance: Wrapper property.
| |
nItemFlags |
Multiple Inheritance: Wrapper property.
| |
nLevel |
Multiple Inheritance: Wrapper property.
| |
nStyle |
Multiple Inheritance: Wrapper property.
| |
nValue |
Multiple Inheritance: Wrapper property.
| |
ReadOnly |
Returns/Sets the ReadOnly flag for the ComboBox control.
When the ComboBox is ReadOnly, it can still get the focus.
(Inherited from SalComboBox.) | |
SelectedIndex | (Overrides SalComboBox..::..SelectedIndex.) | |
sText |
Multiple Inheritance: Wrapper property.
| |
Text |
Returns/Sets the text of the combo box.
This is overridden remove the edit mask.
(Inherited from SalComboBox.) |
Events
Name | Description | |
---|---|---|
MessageActions | (Inherited from SalComboBox.) | |
ReadOnlyChanged |
Fired when the ReadOnly property is altered.
(Inherited from SalComboBox.) |