The VisColorPaletteDropDown type exposes the following members.

Constructors

  NameDescription
Public methodVisColorPaletteDropDown
Default Constructor.

Methods

  NameDescription
Public methodAddListItem
Adds a string to a list box or combo box.
(Inherited from SalComboBox.)
Public methodAddMenu
Adds menu to end of list.
Public methodBringWindowToTop
Brings a window to the top of all overlapping windows.
(Inherited from SalComboBox.)
Public methodCenterWindow
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.)
Public methodClear
Clears the value from a data field, multiline field, or table window column.
(Inherited from SalComboBox.)
Public methodClearCursor
Clears a window's cursor.
(Inherited from SalComboBox.)
Public methodClearList
Deletes all entries from a list box or combo box.
(Inherited from SalComboBox.)
Public methodClearMenu
Clears all menus from list.
Public methodDeleteListItem
Deletes a list box or combo box entry.
(Inherited from SalComboBox.)
Public methodDestroyWindow
Destroys a form window, a top-level table window, or a modeless dialog box created with SalCreateWindow.
(Inherited from SalComboBox.)
Public methodDisableWindow
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.)
Public methodDisableWindowAndLabel
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.)
Public methodEnableWindow
Enables keyboard and mouse input to a window.
(Inherited from SalComboBox.)
Public methodEnableWindowAndLabel
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.)
Public methodFindChild
This function finds a child window of a given name in the specified window.
(Inherited from SalComboBox.)
Public methodFormUnitsToPixels
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.)
Public methodStatic memberFromHandle
Returns the control associated with the handle.
Public methodGetClassName
Return the name of a window's class as a string.
(Inherited from SalComboBox.)
Public methodGetColor
Retrieves the specified color from the palette.
Public methodGetColors
Retrieves all colors from main palette region.
Public methodGetControlType
Returns an object's type.
(Inherited from SalComboBox.)
Public methodGetDataLength
Returns the maximum length of a data field, multiline text field, or table window column.
(Inherited from SalComboBox.)
Public methodGetDataType
Returns a data field's or table window column's data type.
(Inherited from SalComboBox.)
Public methodGetFirstChild
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.)
Public methodGetFocus
Retrieves the position of highlight.
Public methodGetFont
Gets a window's font name, size, and enhancements.
(Inherited from SalComboBox.)
Public methodGetFormat()()()()
Gets the picture format of a data field or table window column.
(Inherited from SalComboBox.)
Public methodGetFormat(SalString%)
Gets the picture format of a data field or table window column.
(Inherited from SalComboBox.)
Public methodGetFormatCode
Returns the current format of a data field or table window column.
(Inherited from SalComboBox.)
Public methodGetFormattedText(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.)
Public methodGetFormattedText(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.)
Public methodGetInputMask()()()()
Gets the input mask of a data field or table window column.
(Inherited from SalComboBox.)
Public methodGetInputMask(SalString%)
Gets the input mask of a data field or table window column.
(Inherited from SalComboBox.)
Public methodGetLabel
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.)
Public methodGetLabelText(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.)
Public methodGetLabelText(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.)
Public methodGetListItemsCount
Returns the number of list box or combo box entries.
(Inherited from SalComboBox.)
Public methodGetListItemState
Determines whether the specified list box or combo box entry is selected.
(Inherited from SalComboBox.)
Public methodGetListItemText(SalNumber)
Returns the text of the specified item.
(Inherited from SalComboBox.)
Public methodGetListItemText(SalNumber, SalString%)
Returns the text of the specified item.
(Inherited from SalComboBox.)
Public methodGetListItemTextLength
Returns the length of a list box or combo box entry.
(Inherited from SalComboBox.)
Public methodGetListSelectedFile()()()()
Fetches the selected directory or file name from a list box or combo box.
(Inherited from SalComboBox.)
Public methodGetListSelectedFile(SalString%)
Fetches the selected directory or file name from a list box or combo box.
(Inherited from SalComboBox.)
Public methodGetListSelectedIndex
Returns the index of the selected entry in a combo box or single-selection list box.
(Inherited from SalComboBox.)
Public methodGetListSelectedItems
Returns an array of index numbers of selected list box entries.
(Inherited from SalComboBox.)
Public methodGetListSelectedItemsCount
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.)
Public methodGetLocation
Returns a window's current position on the X and Y axes.
(Inherited from SalComboBox.)
Public methodGetMenu
Retrieves menu text and ID.
Public methodGetMenuAll
Retrieves all menu entries in list.
Public methodGetName()()()()
Gets the name of an object.
(Inherited from SalComboBox.)
Public methodGetName(SalString%)
Gets the name of an object.
(Inherited from SalComboBox.)
Public methodGetNextChild
Returns the handle of the next child window that matches a specified type.
(Inherited from SalComboBox.)
Public methodGetParent
Returns the handle of an object's parent window.
(Inherited from SalComboBox.)
Public methodGetProperty(SalString)
Gets the value of a named property.
(Inherited from SalComboBox.)
Public methodGetProperty(SalString, SalString%)
Gets the value of a named property.
(Inherited from SalComboBox.)
Public methodGetSize
Returns a window's size.
(Inherited from SalComboBox.)
Public methodGetText(SalNumber)
Retrieves the text of a window.
(Inherited from SalComboBox.)
Public methodGetText(SalString%, SalNumber)
Retrieves the text of a window.
(Inherited from SalComboBox.)
Public methodGetTextUnmasked()()()()
Unmasks the text from a masked edit control.
(Inherited from SalComboBox.)
Public methodGetTextUnmasked(SalString%)
Unmasks the text from a masked edit control.
(Inherited from SalComboBox.)
Public methodGetWindowColor
Gets a window's color.
(Inherited from SalComboBox.)
Public methodGetWindowState
Returns a window's current state.
(Inherited from SalComboBox.)
Protected methodHideDropDownControl
Hides the custom dropdown control.
(Inherited from VisDropDownBase.)
Public methodHideWindow
Hides a window.
(Inherited from SalComboBox.)
Public methodHideWindowAndLabel
Hides a window and its associated label.
(Inherited from SalComboBox.)
Public methodInsertListItem
Inserts an entry into a list box or combo box at a specified position.
(Inherited from SalComboBox.)
Public methodInsertMenu
Inserts menu entry and shifts list.
Public methodInvalidateWindow
Causes a window to be repainted.
(Inherited from SalComboBox.)
Public methodIsDerivedFromClass
Determines whether a window is an instance of the specified class.
(Inherited from SalComboBox.)
Public methodIsEmpty
Verifies whether a data field, multiline text field, or table window column is null or empty.
(Inherited from SalComboBox.)
Public methodIsEnabled
Determines whether a window is enabled for mouse and keyboard input.
(Inherited from SalComboBox.)
Protected methodIsInputKey
#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.)
Public methodIsModified
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.)
Public methodIsValid
Validates the contents of a data field or table window column using the current profile.
(Inherited from SalComboBox.)
Public methodIsValidDateTime
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.)
Public methodIsValidDecimal
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.)
Public methodIsValidInteger
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.)
Public methodIsValidNumber
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.)
Public methodIsVisible
Determines whether a window is currently visible.
(Inherited from SalComboBox.)
Public methodKillTimer
Destroys an object's system timer.
(Inherited from SalComboBox.)
Public methodMoveWindow
Moves a window a given number of form units on the X and Y axes relative to its current position.
(Inherited from SalComboBox.)
Protected methodOnDoubleClick (Inherited from SalComboBox.)
Protected methodOnDrawItem
Draws the colored combobox.
(Overrides ComboBox..::..OnDrawItem(DrawItemEventArgs).)
Protected methodOnDropDown
Resizes the palette to fit all colors and buttons.
(Overrides VisDropDownBase..::..OnDropDown(EventArgs).)
Protected methodOnDropDownClosed
Suppress the DropDownClosed event. We generate it in HideDropDownControl().
(Inherited from VisDropDownBase.)
Protected methodOnFontChanged
Syncronizes the font of the dropdown palette.
(Overrides ComboBox..::..OnFontChanged(EventArgs).)
Protected methodOnHandleCreated
Force the creation the drop down control handle and subclasses the combo box control to suppress the original dropdown list.
(Inherited from VisDropDownBase.)
Protected methodOnHandleDestroyed
Dispose the host form when this control is destroyed.
(Inherited from VisDropDownBase.)
Protected methodOnKeyDown
Disables the keyboard when the control is not editable.
(Inherited from VisDropDownBase.)
Protected methodOnKeyPress
Disables the keyboard when the controlis not editable.
(Inherited from VisDropDownBase.)
Protected methodOnReadOnlyChanged
Called when the ReadOnly property has changed.
(Inherited from SalComboBox.)
Protected methodOnTextChanged (Inherited from SalComboBox.)
Public methodPixelsToFormUnits
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.)
Public methodPopulateList(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.)
Public methodPopulateList(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.)
Public methodPopulateListFiles
Populates a list box or combo box with a directory of files.
(Inherited from SalComboBox.)
Public methodPostMessage
Posts the specified message to a window by adding nMsg to hWndReceiver's message queue.
(Inherited from SalComboBox.)
Protected methodProcessCmdKey
Traps the keys that are used to show the drop down list.
(Inherited from VisDropDownBase.)
Protected methodProcessDialogKey (Inherited from SalComboBox.)
Public methodRemoveMenu
Removes menu entry from list.
Public methodSendMessage
Sends the specified message to a window. SalSendMsg does not return until the processing for the message is complete.
(Inherited from SalComboBox.)
Public methodSendMessageToChildren
Sends a message to all child items of a form window, dialog box, table window, or MDI window.
(Inherited from SalComboBox.)
Public methodSetColor
Assigns color to main palette region.
Public methodSetColors
Assigns all colors to main palette region.
Public methodSetContextMenu(Type, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalComboBox.)
Public methodSetContextMenu(SalString, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalComboBox.)
Public methodSetCursor(Int32, SalNumber)
Sets a window's cursor.
(Inherited from SalComboBox.)
Public methodSetCursor(SalResourceCursor, SalNumber)
Sets a window's cursor.
(Inherited from SalComboBox.)
Public methodSetCursor(SalString, SalNumber)
Sets a window's cursor from a string variable.
(Inherited from SalComboBox.)
Public methodSetCursorFile
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.)
Public methodSetDataLength
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.)
Public methodSetFocus()()()()
Sets the focus to a specified window.
(Inherited from SalComboBox.)
Public methodSetFocus(SalNumber)
Assigns the position of highlight.
Public methodSetFont
Sets a window's font, font size, and font enhancements.
(Inherited from SalComboBox.)
Public methodSetFormat
Sets the picture format of a data field or table window column.
(Inherited from SalComboBox.)
Public methodSetFormatCode
Sets a data field's or table window column's format.
(Inherited from SalComboBox.)
Public methodSetInputMask
Sets the input mask of a data field or table window column.
(Inherited from SalComboBox.)
Public methodSetLabelText
Sets the text of the associaetd label control.
(Inherited from SalComboBox.)
Public methodSetListRedraw
Redraws entries in a list box or combo box, or prevents them from being redrawn.
(Inherited from SalComboBox.)
Public methodSetListSelectedIndex
Selects or deselects a combo box or single-selection list box entry.
(Inherited from SalComboBox.)
Public methodSetListSelectedItems
Selects or deselects a combo box or multiple-selection list box entry.
(Inherited from SalComboBox.)
Public methodSetListSelectedText
Finds and selects a combo box or single-selection list box entry.
(Inherited from SalComboBox.)
Public methodSetListTabStops
Sets tabs in a list box.
(Inherited from SalComboBox.)
Public methodSetLocation
Moves a window to a new position (x, y) on the X and Y axes.
(Inherited from SalComboBox.)
Public methodSetMenu
Assigns menu text and ID.
Public methodSetMenuAll
Assigns all menu entries in list.
Public methodSetModified
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.)
Public methodSetProperty
Sets the value of a named property.
(Inherited from SalComboBox.)
Public methodSetSize
Resizes a window.
(Inherited from SalComboBox.)
Public methodSetText(SalString)
Sets the text of a window.
(Inherited from SalComboBox.)
Public methodSetText(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.)
Public methodSetTimer
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.)
Public methodSetWindowColor
Sets a window's color.
(Inherited from SalComboBox.)
Protected methodSetVisibleCore (Inherited from SalComboBox.)
Protected methodShowDropDownControl
Shows the custom dropdown control hosted in our special inner form class.
(Inherited from VisDropDownBase.)
Public methodShowWindow
Makes a window visible.
(Inherited from SalComboBox.)
Public methodShowWindowAndLabel
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.)
Public methodTrackPopupMenu(Type, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
(Inherited from SalComboBox.)
Public methodTrackPopupMenu(SalString, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
(Inherited from SalComboBox.)
Public methodUpdateWindow
Forces the update of a window.
(Inherited from SalComboBox.)
Public methodValidate()()()()
Validates and formats a data field's or table window column's contents.
(Inherited from SalComboBox.)
Public methodValidate(SalNumber)
Validates and formats a data field's or table window column's contents.
(Inherited from SalComboBox.)
Public methodWinHelp
Starts the Windows help system.
(Inherited from SalComboBox.)
Protected methodWndProc
Override WndProc to handle reflected notifications.
(Inherited from VisDropDownBase.)
Public methodYield
Processes messages for this control.
(Inherited from SalComboBox.)

Operators

  NameDescription
Public operatorStatic memberExplicitNarrowingExplicitExplicitExplicit(SalWindowHandle to VisColorPaletteDropDown)
Fully qualified expressions operator.

Fields

  NameDescription
Public field_derived
Instance of the derived object that inherits this class as a second base in a multiple inheritance tree.
(Inherited from SalComboBox.)

Properties

  NameDescription
Public propertyColors
Returns the collection of colore.
Public propertyDesigntimeVisible
Returns true if the object was designed as visible.
(Inherited from SalComboBox.)
Public propertyDropDownBorderStyle
Returns/Sets the border style to use for the dropdown host.
(Inherited from VisDropDownBase.)
Public propertyDropDownControl
Gets/Sets the control to use as the combo's dropdown.
(Inherited from VisDropDownBase.)
Public propertyDropDownSize
Gets/Sets the size of the dropdown control.
(Inherited from VisDropDownBase.)
Public propertyDroppedDown
Shows/Hdes the custom dropdown control.
(Inherited from VisDropDownBase.)
Public propertyEditable
Gets/Sets the editable flag.
(Inherited from VisDropDownBase.)
Public propertyEditMask
Indicates the edit mask to apply to the text while editing.
(Inherited from SalComboBox.)
Public propertyLabel
Returns/Sets the label associated with this control.
(Inherited from SalComboBox.)
Public propertyModified
Returns/Sets the modified flag.
(Inherited from SalComboBox.)
Public propertyNamedProperties
Returns the collection of named properties.
(Inherited from SalComboBox.)
Public propertyReadOnly
Returns/Sets the ReadOnly flag for the ComboBox control. When the ComboBox is ReadOnly, it can still get the focus.
(Inherited from SalComboBox.)
Public propertySelectedColor
Returns the selected color.
Public propertySelectedIndex
Returns/Sets the index of the selected color.
(Overrides VisDropDownBase..::..SelectedIndex.)
Public propertyText
Disabled text property.
(Overrides SalComboBox..::..Text.)

Events

  NameDescription
Public eventMessageActions (Inherited from SalComboBox.)
Public eventReadOnlyChanged
Fired when the ReadOnly property is altered.
(Inherited from SalComboBox.)

See Also