EControl Form Designer Pro
TzCustomFormDesigner.OnCreateMethod Event

Occurs when new method name is input in object inspector.

property OnCreateMethod: TCreateMethodEvent;

Write this event handler to specify method reference when there is no registered method with the specified Name. 

Use TypeData to validate possible assignment, i.e. do not assign to Method reference to procedure with another type. This may cause system halt. 

Note: This event is intended for only in-code implemeted methods. If you are working with script procedures use OnSetScriptProc event.

Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!