Previous Next

SENSITIVE attribute
Indicates whether a widget can receive input focus or events. Indicates whether certain ABL objects can receive events.
Data type:
Access:
Applies to:
For widgets, if the SENSITIVE attribute is TRUE, the user can give input focus to the widget or can select, move, or resize it (if other attributes are set). A field-level widget must be specified in a frame before you can set the SENSITIVE attribute. The ENABLE statement implicitly sets this attribute to TRUE, and the DISABLE statement sets it to FALSE.
If the READ-ONLY attribute is TRUE for the widget, the SENSITIVE attribute has no effect except to grey out the widget in some environments.
You can use the SENSITIVE attribute to reset the MODIFIED attribute. For example, when the screen-value of a fill-in field is changed, MODIFIED is set to TRUE. If you then set SENSITIVE to FALSE and then to TRUE, you enable the fill-in for further input and the MODIFIED attribute is reset to FALSE.
For the socket and server socket objects, the SENSITIVE attribute indicates whether the object can receive events. The default value of this attribute is TRUE for socket and server socket objects.
If the SENSITIVE attribute is set to FALSE for the socket object, the AVM will not execute the READ-RESPONSE procedure for the socket even if the READ-RESPONSE event occurs.
If the SENSITIVE attribute is set to FALSE for the server socket object, the AVM will stop accepting connections on the port associated with the server socket.
Note:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.