Color Dialog - Show Method

Show as a modal dialog

Member of Color Dialog (PRIM_APPL.ICommonDialogColor)


Name Type Data Type Description
FormOwner *Input (Optional) PRIM_FORM The form to which this form belongs in a stack of modal forms
OKPressed *Result (Optional) Boolean True if OK button was pressed


Use the Show method to show the dialog.


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

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020