I HAVE DOUBT ON INVISIBLE BUTTON
i am taking two push buttons p1 ,p2
if i am click on p1, same time p2 will invisible.
plz send me code realted to this functionality, with simple example
When user clicks the button p1, capture the user action (okcode) in the PAI of the screen. i.e) your MODULE USER_COMMAND INPUT.
This you can simply do by assigning values.
<b>save_okcode = okcode.</b> (okcode should be defined in the attributes of the screen)
Then in the PBO where the screen is generated, you can make the button p2 to become invisible by looping thru the System table SCREEN which has all the attributes of the screen elements like this...
<b>MODULE Status_100 OUTPUT.
When 'p2'. </b>" p2 is the function code for button p2 defined in screen<b>
loop at screen.
if screen-name = 'p2'.
screen-invisible = 1.
That will change button p2 's status to invisible and display.
Hope that helps!