Registers a trigger.
Visual Basic |
---|
Public Function RegisterTrigger( _
ByVal triggerEvent As String, _
ByVal caption As String _
) As String
|
triggerEvent
The event that triggers the button press.
caption
The caption of the button to be pressed.
Note: Every command in the system has a trigger which can be monitored by Visual Basic. One-shot commands have Succeeded or Failed triggers. Callback commands have- Snap, Keyback, KeyEnter, KeyTab and End triggers. These triggers can be used to set off an event. Once the trigger is used, you can unregister it by giving it the caption "".
Available: MM ME MD
Groups:
sis.RegisterTrigger ("AComLineEx::KeyEnter", "DrawLineEnter")
Pushes the button on the startup form with the caption DrawLineEnter when an AComLineEx::KeyEnter event occurs.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).