Guidance
指路人
g.yi.org
Upload / Forum Attachment / Reginald Rexx Programming Language Compiler User Forum Attachments and Pictures / 12336-rpc_run_error.rex

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
/*

GUIBEGIN


WINDOW , 1, 2, 361, 73, POPUP|CAPTION|SYSMENU|MINBOX|MAXBOX|THICK, , SHB trace
	FONT 8, 400, MS Shell Dlg
	STATUS BOTTOM|GRIP, status_bar
	PUSH 169, 31, 20, 14, DEFAULT|TABSTOP, , ok_button, , OK
DEND
GUIEND

*/

/* Load the REXX GUI functions. */
LIBRARY rexxgui
guierr = "SYNTAX"
guiheading = 1

guicreatewindow()
/* Now sync all the controls with their variables' values. */
guisetctlvalue()
guisetctlplacement(,,,,,,'NORMAL')

/* Uncomment to check for function name conflicts. */
/* RxFuncQuery() */

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
		/* If you have any special cleanup to do, then you put it in this FINALLY. */
		guidestroywindow()
END

RETURN
/*************************************************************/
wm_click_cancel_button:
CALL wm_close()
RETURN
/**************************************************************
 Closing down the window - clean up as rired              	 
**************************************************************/
wm_close:
RETURN
/*******************************************************************

*******************************************************************/
wm_click_ok_button:

guigetctlvalue()

createobject("rpc_run_error_child_window.rex", "tracechk.", ,'Tracechk', 'BR')
/* tracechk_list_handle = tracechk.~progress_list_handle() */
rc = test2.rex()
RETURN
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sat 2024-10-12  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2008-08-30 14:33:08