LIBRARY rexxgui
guierr = "SYNTAX"
guiheading = 1
guicreatewindow()
guisetctlvalue()
guisetctlplacement(,,,,,,'NORMAL')
again:
DO FOREVER
guigetmsg()
IF EXISTS('GuiObject') == 0 THEN
DO
IF EXISTS('GuiSignal') THEN
DO
SELECT guisignal
WHEN 'POST CLOSE' THEN
LEAVE
WHEN 'OTHER_OPTION' THEN
NOP
OTHERWISE
NOP
END
END
END
CATCH SYNTAX
CONDITION('M')
SIGNAL again
CATCH HALT
FINALLY
guidestroywindow()
END
RETURN
wm_click_cancel_button:
CALL wm_close()
RETURN
wm_close:
RETURN
wm_click_ok_button:
guigetctlvalue()
createobject("rpc_run_error_child_window.rex", "tracechk.", ,'Tracechk', 'BR')
rc = test2.rex()
RETURN |