[comp.sys.next] Alert Panels

kamisett@enuxha.eas.asu.edu (Krishnaprasad Kamisetty) (07/20/90)

Hello everyone,

I have a small problem with my AlertPanels, Wish someone could bail me out!

I am using NXGetAlertPanel to show a warning to the user and take it away
without he taking any action about it.I want it to stay just for a few seconds
and go away..But, it just stays on until the entire method is run through..
I am using the following code.

--------

id info;
NXModalSession * ses;

 /* The following code is trying to bring up an Alert panel
	        and take it away after a while */
	   
	  info = NXGetAlertPanel("FYI","%s is being sent to enuxha for
	        tex compilation and bring back a %s .ps file",NULL,NULL,
		NULL,pathname);
         ses = [NXApp beginModalSession:NULL for:info];
	  [NXApp endModalSession:ses];
	  NXFreeAlertPanel(info);


----------

Thanks for any help

Regards
-Krish 
kamisett@enuxha.eas.asu.edu
-- 
-Krishnaprasad
Kris Kamisetty,CIM Systems Research,Dept. Of IE, ASU         
e-mail: kamisett@enuxha.eas.asu.edu
USmail: ERC 552,CIM Center,ASU,Tempe,AZ 85287