RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComponentEditor.Edit Method

Responds when the user double-clicks the component in the form designer.

Pascal
procedure Edit; virtual;
C++
virtual __fastcall Edit();

The form designer calls Edit when the user double-clicks the component. Edit executes the first verb supplied by the component editor. That is, if GetVerbCount returns a value greater than zero, Edit calls

Override the Edit method to implement another response when the user double-clicks the component. For example, the Edit method can bring up a dialog or design expert. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!