You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Color Dialog - Show Method
Show as a modal dialog
Member of Color Dialog (PRIM_APPL.ICommonDialogColor)

Parameters

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

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

  • No labels