Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== ENABLED property ====== ==== Applies To ==== All controls, menu items. ==== Description ==== Allows a disabled control to issue an event, or disables a control. ==== Usage ==== //enabledstatus// = **Get_Property**(//objectname//, "**ENABLED**") //existingprop// = **Set_Property**(//objectname//, "**ENABLED**", //state//) ==== Remarks ==== Values passed in Set_Property: ^Value^Possible Values^Description^ |//State//|1|The control is available to the user at run-time.| | |0|The control cannot receive focus and is displayed in a disabled manner.| | |-1|The control cannot receive focus and is displayed in a disabled manner with the standard Windows graphical representation.| ==== Returns ==== Values returned by both Get_Property and Set_Property: ^Value^Description^ |//enabledstatus//|State of control.| |//existingprop//|State of control when Set_Property was called.| ==== Note ==== With the release of OpenInsight 7.0, the ENABLED property may be set to a -1. This will set the control's disabled look to a "Windows Disabled" look. ==== See Also ==== [[readonly|READONLY property]] ===== ===== guides/programming/programmers_reference_manual/enabled.txt Last modified: 2024/06/19 20:20by 127.0.0.1