You can use event handlers in the script. Unlike the Delphi event handler, script event handlers are not the methods of the object. The following example shows how to connect an event handler to the TButton.OnClick event:
|
There are some predefined events available in FS_iEvents unit:
TfsNotifyEvent TfsMouseEvent TfsMouseMoveEvent TfsKeyEvent TfsKeyPressEvent TfsCloseEvent TfsCloseQueryEvent TfsCanResizeEvent