[Migrated content. Thread originally posted on 30 June 2004]
Guys,I've got a screen which 6 tabs on it, now when the user wants to change to a different tab I want to stop him doing this based on some variables in the application.
I'm currently using "Aft-Tabchg-Display" to get the details once they've changed display, but I was trying to do the following in "Bef-Tabchg-Display", but it seems to carry on anyway.
Can someone tell me what I need to do.
Thanks,
Shaun
EVALUATE EVENT-DATA-1
WHEN 02
IF WS-SOP-NOT-INST
MOVE 0404 TO MSG-KEY
PERFORM DISPLAY-MSG-GUI
MOVE EVENT-ACTION-FAIL TO EVENT-ACTION
MOVE 4 TO ACCEPT-CONTROL
MOVE 6 TO CONTROL-ID
EXIT PARAGRAPH
END-IF
......etc