DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Command: ColorChoose

Display all  Hide all

Command: ColorChoose

Opens the dialog box for color selection.

Call ColorChoose(FileDlgCaption, ChoosedColor)

Input Parameters

FileDlgCaption Specifies the dialog box caption.
ChoosedColor Specifies the RGB color value.

Example

The following example sets the color value and opens the dialog box for color selection. DIAdem displays the selected color as a RGB color value in a message.

VBScriptPython

 

ChoosedColor = 255 
Call ColorChoose ("Choose Color", ChoosedColor) 
Call MsgBoxDisp ("Selected color: " & ChoosedColor)

Related Topics

Command: DeskSave | Command: DlgOpen | Command: ExtProgram | Command: ProgramExit | Command: StopWatchReset | Command: WinHelpCall | Command: WizardStart | Command: WndOpen | Command: WndShow | Variable: FullScreenMode

Was this information helpful?