Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo won't trigger interactivechange
Message
From
16/06/2000 15:33:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
15/06/2000 17:17:54
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00380828
Message ID:
00381634
Views:
13
>Dragan:
>
>Try something like this in the KeyPress event:
>
>...
>IF CHR(nKeyCode) == ALLTRIM(THIS.Value)
> NODEFAULT
> THIS.InteractiveChange()
>ENDIF
>...
>
>If that doesn't work, you may try to send a BackSpace + the key pressed.

It actually worked when I turned it around a little:
IF THIS.Value=CHR(nKeyCode)
   NODEFAULT
   THIS.InteractiveChange()
ENDIF
The OKL thing almost worked, but caused the next control to receive focus, like, five times, and flashed around as if I used something from the Bag Of Evil Tricks ((c) Gonzo). This works without a glitch, thanks, you saved my Friday :) (which is not finished yet, there's a bottle of Guinness in the fridge...)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform