Class: DefaultActionButton_Mixin

Module location: Windows.pkg line 2388 (view source)

this gets mixed into "panel" classes (views, panels, modal panels) and defines support for a default button. The only public interface exposed for default buttons is: get/set default_action_button

Class Hierarchy:

cObjectMixinDefaultActionButton_Mixin

Class Definition

Properties

Integerprivate.Current_Action_Button
integerprivate.Default_Action_Button

Functions and Procedures

IntegerCurrent_Action_Button()
notice there is no Set for this. The set is private
Default_Action()
called by kEnter. By default it should send the message KeyAction to the default button. If possible, avoid augmenting this ... change the Default_action_button property instead.
IntegerDefault_Action_Button()
Define_DefaultActionButton_Mixin()
Set(Integer hoButton)