VisColorPaletteDropDown
PPJ.Runtime.Vis.VisColorPaletteDropDown
Namespace: PPJ.Runtime.Vis
Assembly: PPJ.Runtime.Vis.49 (4.9.0.0)
Non-editable combo-box with drop-down color palette
public class VisColorPaletteDropDown : VisDropDownBasePublic Class VisColorPaletteDropDown
Inherits VisDropDownBaseConstructors
VisColorPaletteDropDown()
Default Constructor.
Properties
Colors
IList: Returns the collection of colors.
SelectedColor
Color: Returns the selected color.
SelectedIndex
Int32: Returns/Sets the index of the selected color.
Text
String: Disabled text property.
Methods
AddMenu(szText, nID)
Adds menu to end of list.
Returns: SalNumber.
ClearMenu()
Clears all menus from list.
Returns: SalBoolean.
FromHandle(handle)
Returns the control associated with the handle.
Returns: VisColorPaletteDropDown.
GetColor(colors)
Retrieves the specified color from the palette.
Returns: SalNumber.
GetColors(colors)
Retrieves all colors from main palette region.
Returns: SalNumber.
GetFocus()
Retrieves the position of highlight.
Returns: SalNumber.
GetMenu(nEntry, szText, nID)
Returns: SalNumber.
GetMenuAll(szText, nID)
Retrieves all menu entries in list.
Returns: SalNumber.
InsertMenu(nEntry, szText, nID)
Inserts menu entry and shifts list.
Returns: SalBoolean.
RemoveMenu(nEntry)
Removes menu entry from list.
Returns: SalBoolean.
SetColor(nEntry, nColor)
Assigns color to main palette region.
Returns: SalNumber.
SetColors(colors)
Assigns all colors to main palette region.
Returns: SalNumber.
SetFocus(nEntry)
Assigns the position of highlight.
Returns: SalBoolean.
SetMenu(nEntry, szText, nID)
Assigns menu text and ID.
Returns: SalBoolean.
SetMenuAll(szText, nID)
Assigns all menu entries in list.
Returns: SalNumber.
Implements
Last updated