Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Stamp Hot Key
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00159687
Message ID:
00159749
Views:
25
>
>Kevin, use KeyPress event. Your have 2 choices : set form.KeyPreview = .t. and place the code to form.KeyPress, or have your date textbox subcassed and put this code in the textbox class KeyPress.
>
>Nick

Thanks for the info!! I tried the first suggestion but for some reason it seems to ignore function keys ?!?!? I have other keys in the keypress event (Page UP and DOWN) that work. My nKeyCOde value for F12 is 134. Also do you know how I can determine if the current object is a date field? Do I still use TYPE? As for the second suggestion, unfortunately the app was created without a subclass library. All the date fields are off the base class. Is there some way to implement the second suggestion at this point??

TIA!
Kevin Scott
kehvn@carolina.rr.com


Hey! It's not my fault. It's some General named Protection!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform