[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'StdActns' (#lcl)

TColorSelect

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TColorSelect - standard action for opening a Colour Selection dialog

Declaration

Source position: stdactns.pas line 413

type TColorSelect = class(TCommonDialogAction) end;

protected

  function GetDialogClass; override;

  

GetDialogClass - returns the class of dialog associated with this action

published

  property Caption: TTranslateString;

  

The Caption to be used if this action is associated with a visible component

  property Dialog: TColorDialog; [r]

  

The ColorDialog to use with this action

  property Enabled: Boolean;

  

Enabled - whether this action is able to be used (default True)

  property HelpContext: THelpContext;

  

HelpContext - the index for a context-based help message

  property HelpKeyword: string;

  

HelpKeyWord - the keyword of a context-based help message

  property HelpType: THelpType;

  

HelpType - the sort of help message to be offered: default Context-based

  property Hint: TTranslateString;

  

Hint - a pop-up message that appears when the mouse hovers over an object

  property ImageIndex: TImageIndex;

  

ImageIndex - the index number of the image to be associated with this action

  property ShortCut: TShortCut;

  

ShortCut - an index to a shortcut list

  property SecondaryShortCuts: TShortCutList;

  

SecondaryShortCuts - a stringlist containing shortcuts

  property Visible: Boolean;

  

Visible - is this action visible? (default True)

  property BeforeExecute: TNotifyEvent;

  

BeforeExecute - event handler for performance before execution of the action

  property OnAccept: TNotifyEvent;

  

OnAccept - event handler for a press of the Accept button

  property OnCancel: TNotifyEvent;

  

OnCancel - event handler for a press of the Cancel button

  property OnHint: THintEvent;

  

OnHint - action to be taken when a hint is required

Inheritance

TColorSelect

  

TColorSelect - standard action for opening a Colour Selection dialog

|

TCommonDialogAction

  

TCommonDialogAction - base class for providing actions associated with Dialogs

|

TCustomAction

  

TCustomAction is the ancestor class for TAction

|

TContainedAction

  

TContainedAction - parent class for TCustomAction; defines some properties especially relationships with parents

|

TBasicAction

?

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.