Skip to main content

controls in netexpress

  • September 22, 2015
  • 1 reply
  • 0 views

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?

1 reply

Fano Razafinimanana

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,