Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET POINT and numeric input
Message
From
16/01/2002 10:24:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
16/01/2002 06:50:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00603396
Message ID:
00605387
Views:
23
>I would never have thought of passing parameters to DoDefault() in this case!

Well, once you burn your fingers on forgetting to pass them where you must pass them, it becomes a habit :)

>There is one thing I don't quite understand. According to HELP INKEY(), Alt-C also has the code 46, and I expected that I had to expand the condition to nKeyCode = 46 and empty(nShiftAltCtrl).

The general user population this was intended for doesn't have a habit of using Alt+character stuff, so this really hasn't crossed my mind.

>However, I didn't do this, and yet Alt-C did NOT insert a comma as expected.

Right - tried it and it doesn't fire anything; there was nothing in the menu or buttons that would eat the alt+c. Short of seeing in the debugger what gives, I can only assume that alt+stuff doesn't get caught in the keypress at all. I seem to recall something like that, people having trouble trying to catch alt+key in the keypress and it wouldn't work. Don't have the time to debug now, but I really think this may be the case.

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