Previous Next

CAN-SET function
Returns a logical value indicating whether you can set a specified attribute for a specified widget.
Syntax 
 
CAN-SET ( handle , attribute-name )
handle
An expression that evaluates to a 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 “Handle Attributes and Methods Reference” section.
Notes 
*
 
IF CAN-SET(my-handle, "FRAME") AND my-handle:DYNAMIC THEN
  my-handle:FRAME = frame-handle.
*
See also 
CAN-QUERY function, LIST-QUERY-ATTRS function, LIST-SET-ATTRS function

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