[futurebasic] RE: [FB] Alert dialogs

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1999 : Group Archive : Group : All Groups

From: Chris.Young@...
Date: Wed, 19 May 1999 16:09:48 -0500
Dunno, works fine for me. Check out TN 38 on Staz's web site. Is this 
using FBII, latest version? Per the TN, try inserting a 
% _ACount, 0
at the beginning of the program and see if that helps.

Chris Young

On Wednesday, May 19, 1999 3:34 PM, pzippi [SMTP:pzippi@...] wrote:
> Stewart wrote:
> > 
> > I have some elementarily questions about Alerts: I cant get one to 
work the
> > first time I call it, but if I call it twice, it
> > always works.
> > 
> > The following is an example.
> > 
> > RESOURCES "CKBook.rsrc","APPLxxxx"
> > GLOBALS "CKBook.GLBL"
> > END GLOBALS
> > GOTO "main"
> > '-------------------------- Functions ------------------------------
> > 
> > LOCAL FN ErrorHandler(Str3$)
> > DIM Btn%
> > CALL PARAMTEXT(Str3$,"","","")                    'Str3$ replaces ^0
> > Btn% = FN STOPALERT(128,0)
> > TRON BREAK
> > END FN = Btn%
> > 
> 
> I had the same problem. I never figured out why the alerts would not 
appear
> the first time they were called in OS 8.X.
> If no one comes up with a better answer, the following line of code 
is a work-
> around.
> 
> Btn%=FN STOPALERT (128, 0)
> IF Btn%<0 THEN Btn%=FN STOPALERT (128, 0)'try again OS8 prob?
> 
> 
> 
> 
> Tel. 972-509-6387
> Fax. 972-509-6941
> +++++++++++++++++++++++
> Home email: paz@...
> Home web: http://web2.airmail.net/paz
> 
> --
> To unsubscribe, send ANY message to 
<futurebasic-unsubscribe@...>
>  << File: Re_ [FB] Alert dialogs.TXT >>