Progress
Language Reference
CAN-SET Function
Returns a logical value indicating whether you can set a specified attribute for a specified widget.
SYNTAX
widget-handle
An expression that evaluates to a widget handle. The handle must refer to a valid widget.
attribute-name
An expression that evaluates to a character-string value. The contents of the string must be an attribute name. For more information on attributes, see the Attributes and Methods Reference.
NOTES
- For a field-level widget, the CAN-SET function always returns TRUE for the FRAME attribute; however, you can set the frame attribute only if the widget is dynamic. Therefore, before setting the FRAME attribute for a widget, you can test that the operation is valid with a statement similar to the following
- SpeedScript — Use with buffer-field, buffer-object, and buffer, and query-object handles.
SEE ALSO
CAN-QUERY Function, LIST-QUERY-ATTRS Function, LIST-SET-ATTRS Function
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |