Kbase 15229: LABEL doesn't move with MOVABLE WIDGET : NAB, code to do it
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
LABEL doesn't move with MOVABLE WIDGET : NAB, code to do it
If a widget is made MOVABLE, the widget's label doesn't move with the
widget at run-time. This functionality is by design. There are many
occasions when the user would want to move he widget independently of
its label.
If the 4GL developer wishes to move the two as a unit, this can be
accomplished by defining a dynamic text widget to hold the label and a
separate dynamic widget for the movable object. The movable object's
SIDE-LABEL-HANDLE must then be re-assigned to the handle of the text
widget in a trigger ON END-MOVE to keep the label with the object.
The text and movable object must both be dynamic widgets.
Refer to Programming Handbook for Dynamic Widget management and
Language Reference for SIDE-LABEL-HANDLE attribute.
See also KnowledgeBase entry #13477 "how to add a LABEL to a DYNAMIC
widget such as a FILL-IN".
Progress Software Technical Support Note # 15229