[futurebasic] Re: [FB] question mark

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2004 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Thu, 21 Oct 2004 17:13:22 +0200
Alain Wrobel wrote:
>         Hello,
>     Two new questions :
>         - how can I insert a question mark in a literal constant (FB4 
> vFR); eg I want to use the following constant "save before quit ?" and 
> the editor decides for me "save before quit print" (the solution is to 
> print the "? "in a remark, cut it, and copy it in the constant)

This was a known bug that has been already addressed, however I 
can't remember if it was before or after the official FB4 Release 1 
was out.
Did you try to do the same thing using the English IDE?
I'm a bit baffled I confess, because I have launched all the 
versions included in the European Release that are lurking on my HD 
and not one of them exhibits the problem.

>         - is it possible to know if a "sheet alert" window is in 
> activity (my goal is the following : the user must be unable to activate 
> another window before closing  the "sheet alert" window)

I don't think a sheet window should prevent the end user from 
selecting another window, maybe you need to consider the use of a 
modal dialog instead. Other than that you could check the existence 
of the sheet window (provided you close it when it is dismissed) 
with the Window function: Window(-sheetWndNum) where sheetWndNum is 
the FB Reference number for the window.
You could also assign a category to the sheet window and test if the 
window is present with Window(_activeWCategory) and