[futurebasic] Re: [FB] Modal windows not locking out other functions

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

From: "Pierre Zippi" <pierrezippi@...>
Date: Mon, 27 Oct 2008 07:54:19 -0500
Thanks. The menu X, 0,0 / menu X, 0,1 worked to solve my problem.

On Mon, Oct 27, 2008 at 2:52 AM, Robert Purves <listrp@...> wrote:
>
> On 27/10/2008, at 5:40 AM, Pierre Zippi wrote:
>
>> In moving to appearance, modal windows seem to not operate like they
>> did in standard basic. In standard any attempt to select other menu
>> items while a modal window was open were blocked. Now in appearance, I
>> can have a modal window open AND send my program into oblivion by
>> selecting another menu item.
>> I'm using FB4.4.3. I want the user to open a window with options for
>> drawing a chart. While the options window is open, the user should
>> only be able to make selections in that window.
>> How do I lock out the menu while the modal window is open?
>
>
> You could simply disable the menus while your modal window is open.
> menu _mFile, 0, 0
> menu _mWhatever, 0, 0
> ...
>
> and then re-enable them when the window is closed.
>
> Robert P.
>
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
>
>