Re: VEL bug?

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

Hello Ad,

>Hi, Lewis,
>
>Gary doesn't seem to be here at the moment, but maybe I can help.
>I think it's right that the CHANGE_EVENT doesn't work for an EDIT
>control; its mainly used in LISTBOX controls, where you can
>navigate using mouse and cursor keys. (BTW, the CLICK_EVENT has got
>the same functionality!)
>The KEYPRESS_EVENT in an EDIT control captures all your 'normal' keypresses
>and returns them in the p variable of the 'event-
>processor'.
>Does that answer your questions?
>
>  ^  |
>/-\<|

Well, here is a snippet of documentation from the VEL.chm
file in the section about EDIT controls:

Event          Meaning
------------   ------------------------------------------
CHANGE_EVENT   ChangeEvent occurs whenever the text for
               the edit control may have changed.
CLICK_EVENT    ClickEvent occurs when the user clicks the
               control.

In fact, the CHANGE_EVENT isn't even available for the
listbox control (acording to the same help file).
Like I said before, I can use the KEYPRESS_EVENT or
KEYDOWN_EVENT but they don't respond quite the way I want
and won't respond at all to mouse cuts and pastes. I found
another way: using EXIT_EVENT but it's not quite what I'm
looking for either because it requires more tabing and
clicking.

Well, I'll send this reply to the whole list since Gary
seems to be unavailable so maybe someone (Ad or anyone else)
can help me:

Does any one know how to "emulate" the CHANGE_EVENT in VEL
for an EDIT control? Or get the real one to work?

later,
Lewis Townsend

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu