Re: Code Editor in Judith's IDE

new topic     » goto parent     » topic index » view thread      » older message » newer message

Judith,
I've found the problem with the beeping IDE editor.

It's in the use of "returnValue()". This function is ONLY needed if you want
to tell windows to ignore the key just entered, or to use a different key
code.

I suggest that in the KeyHandler routine, you should call returnValue(-1) to
tell Windows to forget about the key just entered ('cos you are handling
it), and just delete all other uses of returnValue(). It doesn't do anything
in the mouse routines, for example.

The current problem is caused by calling returnValue(True). Because "True"
evaluates to "1", this is telling Windows to use keycode 1 instead of
whatever was actually keyed in. Unfortunately, this is a non-display key so
Windows beeps instead.

-----
cheers,
Derek Parnell

>-----Original Message-----
>From: Derek Parnell [mailto:dparnell at bigpond.net.au]
>Sent: Tuesday, November 14, 2000 10:16 AM
>To: derekp at solace.com.au
>Subject: Re: Code Editor in Judith's IDE
>
>
>I've determined that Code Editor beeps only in versions 53 and above of
>win32lib.ew all using the latest version of IDE. However, that is not the
>entire answer because I can make an editText and MleText that do not beep
>as data is entered. You can use versions less than 53 but the cancel button
>on exit and close dialog will not function and you might encounter
>a problem
>clicking on the Class combo box in properties.
>
>I'll continue to search for a solution.
>
>Judith Evans
>
>
>>
>>On Mon, 13 Nov 2000 10:29:45 -0800, CK's Yahoo Mail <cklester at YAHOO.COM>
>>wrote:
>>
>>>When I'm using the Code Editor, it dings every time I type
>something! This
>>>is not expected behavior, is it? Is there something I can do to shut it
>off
>>>(besides turning off my speakers)?
>>>
>>>Thanks!
>>>ck
>>>
>>>
>>>
>>>__________________________________________________
>>>Do You Yahoo!?
>>>Talk to your friends online with Yahoo! Messenger.
>>>http://im.yahoo.com
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu