Method XbpActiveXControl():activate() Foundation
Trigger the standard action associated with an ActiveX control.
:activate() --> self
This method returns the object executing the method (self).
The method :activate() activates the standard action defined for an Active control. :activate() also closes a modal dialog or XbpCrt window if the ActiveX control is defined as the form's default or cancel control. More info on modal dialog windows can be found under method XbpDialog:showModal(), and the instance variables :default and :cancel.
:activate() is the default event handler method for the xbeP_Activate event. If the ESC or ENTER key is pressed in a modal dialog, the form's keyboard handler sends xbeP_Activate to the form's default or cancel control. The method :activate() is called automatically to handle the event.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.