Re-enables a button disabled with the DisableButton macro.
Syntax
EnableButton("button-id")
EB("button-id")
Parameter | Description |
button-id | Identifier assigned to the button in the CreateButton macro. The button ID must be enclosed in quotation marks. |
Example
The following macro re-enables the Ideas button that was disabled in the DisableButton macro example:
EnableButton("btn_ideas")
Comments
If you use this macro to enable a standard Windows Help button (Contents, Search, Back, or History), the user’s next action may disable the button. For example, if you enable the Contents button in one topic, it may be disabled again when the user jumps to a different topic.
Windows Help ignores this macro if it is executed in a secondary window.
See Also
ChangeButtonBinding, CreateButton, DestroyButton, DisableButton