Kbase P169022: How to change attributes of a field after its FRAME has been realized
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  30/06/2010 |
|
Status: Unverified
GOAL:
How to change attributes of a field after its FRAME has been realized
GOAL:
How to use object reference to modify attributes of a static widget in a frame
FACT(s) (Environment):
All Supported Operating Systems
Progress 7.x
Progress 8.x
Progress 9.x
OpenEdge 10.x
FIX:
Once a FRAME has been rendered it is possible to change some of the attributes of statically defined widgets that are associated with the FRAME by using object referencing. An example of this is shown below which sets the FORMAT attribute of a FILL-IN widget after the frame has been realized.
DEFINE VARIABLE fiName AS CHARACTER NO-UNDO.
DEFINE FRAME fMain fiName FORMAT "x(2)".
fiName:FORMAT IN FRAME fMain = "x(4)".