Skip to main content

Is there a way in dialog to make a screen object (radial button, check box etc.) appear and disappear, depending on the value of a variable?

Is there a way in dialog to make a screen object (radial button, check box etc.) appear and disappear, depending on the value of a variable?

Hello,

You could use the HIDE-OBJECT and SHOW-OBJECT functions.

 BUTTON-SELECTED
     IF= "OFF" A-FIELD OFF-RB1
     IF= "ON" A-FIELD ON-RB1
   OFF-RB1
     HIDE-OBJECT RB1
   ON-RB1
     SHOW-OBJECT RB1

Regards,