Click or drag to resize

PaletteDialog Class (Typed)

X#
Present the user with a standard color palette dialog box, allowing the user to define custom colors.
Inheritance Hierarchy
Object
  VObject
    StandardDialog
      StandardColorDialog
        PaletteDialog

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 CLASS PaletteDialog INHERIT StandardColorDialog
Request Example View Source

The PaletteDialog type exposes the following members.

Constructors
  NameDescription
Public methodPaletteDialog
Construct a standard color palette dialog.
Top
Functions
  NameDescription
Public methodColor
Return the color that the user selected.
(Inherited from StandardColorDialog.)
Public methodDestroy
Free memory resources allocated for a VObject object and its derived objects.
(Inherited from VObject.)
Public methodShow
Display a standard color dialog box. To retrieve the value that the user selected, use the StandardColorDialog:Color() method.
(Inherited from StandardColorDialog.)
Top
Globals and Defines
  NameDescription
Public fieldoCargo
Cargo slot.
(Inherited from VObject.)
Top
Remarks
This type of dialog box presents the user with a palette of available colors as a series of "boxes," allowing the user to select a color by clicking a box. It also allows the user to create and select their own custom colors.
See Also