Kbase P116623: 4GL/ABL: What is the difference between the SENSITIVE Attribute and the ENABLED property?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  6/29/2009 |
|
Status: Verified
GOAL:
4GL/ABL: What is the difference between the SENSITIVE Attribute and the ENABLED property?
GOAL:
The SENSITIVE Attribute versus the ENABLED property.
GOAL:
Why does the assignment of the enabled property to a Progress widget like a fill-in or a button fail?
GOAL:
How do you determine if a widget is enabled or not?
FACT(s) (Environment):
All Supported Operating Systems
Progress 9.x
OpenEdge 10.x
FIX:
The SENSITIVE Attribute returns a logical value that indicates whether a widget can receive input focus or events and whether certain Progress objects can receive events. It is a readable and writable attribute that applies to the following Progress widgets and objects:
Browse, Button, Combo-box, Control-frame, Dialog-box, Editor, Field-group, Fill-in, Frame, Image, Literal, Menu, Menu-item, Radio-set, Rectangle, Selection-list, Slider, Sub-menu, Text, Toggle-box, Window.
The Enabled property determines whether an OCX control can respond to user-generated events. It is a readable and writable attribute that applies to some OCX controls that include CSCombobox, CSSpinBox and PSTimer but does NOT apply to the widgets and objects listed above. Any attempt to set or get the ENABLED property of a progress widget or attribute will generate a run time error like: **ENABLED is not a <settable/queryable> attribute for <widget id>. (4052).
The SENSITIVE attribute of Progress widgets and objects performs a similar functionality as that the ENABLED property performs for OCX controls.