Color Dialog - Show Method

Show as a modal dialog

Member of Color Dialog (PRIM_APPL.ICommonDialogColor)

Parameters

NameTypeData TypeDescription
FormOwner*Input (Optional)PRIM_FORMThe form to which this form belongs in a stack of modal forms
OKPressed*Result (Optional)BooleanTrue if OK button was pressed

Details

Use the Show method to show the dialog.

Example

Showing the Color Dialog as part of an IF statement.
 
If the OK button was pressed the code inside the IF will be executed
If (#ColorDialog.Show)
   #style.TextColor := #ColorDialog.ChosenColor
Endif

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2