Alaska Software Inc. - How to disable ESC key during PopuP menu ?
Username: Password:
AuthorTopic: How to disable ESC key during PopuP menu ?
Nevzat Kanbur How to disable ESC key during PopuP menu ?
on Tue, 18 Jan 2005 22:35:51 +0200
Hi,

I want to disable ESC key during PopUp. Basically I don't want users to push
ESC key when popup menu displayed.

Any help please?

Regards
Nevzat
Pablo BotellaRe: How to disable ESC key during PopuP menu ?
on Tue, 18 Jan 2005 22:06:01 +0100
> I want to disable ESC key during PopUp. Basically I don't want users to 
> push
> ESC key when popup menu displayed.
SetKey(27, {|| NIL})
MENU TO nVar
SetKey(27, NIL)
Thomas Braun Re: How to disable ESC key during PopuP menu ?
on Wed, 19 Jan 2005 09:26:04 +0100
Nevzat Kanbur wrote:

> I want to disable ESC key during PopUp. Basically I don't want users to push
> ESC key when popup menu displayed.

What kind of popup menu, GUI (xbpMenu) or CRT (PROMPT - MENU TO)?

Thomas Braun
Nevzat Kanbur Re: How to disable ESC key during PopuP menu ?
on Fri, 04 Feb 2005 00:39:53 +0200
Thomas Braun wrote:

> Nevzat Kanbur wrote:
> 
> 
>>I want to disable ESC key during PopUp. Basically I don't want users to push
>>ESC key when popup menu displayed.
> 
> 
> What kind of popup menu, GUI (xbpMenu) or CRT (PROMPT - MENU TO)?
> 
> Thomas Braun
Hi,


GUI (xbpMenu)
Thomas Braun Re: How to disable ESC key during PopuP menu ?
on Fri, 04 Feb 2005 08:48:02 +0100
Nevzat Kanbur wrote:

>> What kind of popup menu, GUI (xbpMenu) or CRT (PROMPT - MENU TO)?
>> 
>> Thomas Braun
> Hi,
> 
> GUI (xbpMenu)

How are your users supposed to cancel their menu selection in that case?

BTW, unfortunately I don't hink you can disable ESC on menus because popup
menus do not use the standard event handler of Xbase++...

Thomas Braun
Joe Carrick Re: How to disable ESC key during PopuP menu ?
on Mon, 07 Feb 2005 11:27:00 -0800
Nevzat Kanbur wrote:

> Thomas Braun wrote:
> 
>> Nevzat Kanbur wrote:
>>
>>
>>> I want to disable ESC key during PopUp. Basically I don't want users 
>>> to push
>>> ESC key when popup menu displayed.
>>
>>
>>
>> What kind of popup menu, GUI (xbpMenu) or CRT (PROMPT - MENU TO)?
>>
>> Thomas Braun
> 
> Hi,
> 
> 
> GUI (xbpMenu)

I agree with Thomas as far as "How are your users supposed to terminate 
their selection?"

If you still want to prevent the use of ESC, then you would need to 
over-ride the keyboard handler.  I don't see any reason that you 
couldn't do this.  Take a look at the docs for "keyboard()".

-Joe