Inherited from : TColorDialog
Unit: ApColorDlg
More powerful version of TColorDialog shipped with Borland's compilers.
Published; protected in custom version
This variable contains all information about panels of the standard dialog. See TApCustDlgPatams type for details.
DlgItemsCaptions : TApColorDlgCaptions
Published; protected in custom version
You can set items in this property to replace labels for standard controls inside dialog. For example you can replace OK button caption using DlgItemsCaptions.OK property and so on. If there is no value in any subitem then original text is displayed.
Title : string
Published; protected in custom version
The title of the dialog
All the new properties below are "dialog-time".
For all handlers: Published; Protected in custom version.
Occurs when the user is about to open right part of Color dialog. Set AllowProceed to false to prevent this action.
Occurs when the user have opened right part of Color dialog.
TApColorQueryEvent = procedure(Sender : Tobject; var AColor : TColor; var Allo
wedColor : boolean) of object;
Occurs when the user is about to add new color to custom palette. AColor variable contains that color wich the user tries to add. Set AllowedColor to false to prevent this adding.
TApColorEvent = procedure(Sender : Tobject; AColor : TColor) of object;
Occurs when the user is about to open right part of Color dialog. Set AllowProceed to false to prevent this action. AColor - that color wich was added to the custom palette.
General hook procedure. You can hook any message you want directry in this handler. This handler occurs after dialog procedure has processed current message.
OnEventHooking : TApMsgQueryEvent
You can determine here whether dialog box procedure should process current message (m parameter). Set AllowDispatch to false to prevent this message's processing by dialog box procedure.