Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KeyPress Event
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00080369
Message ID:
00080688
Views:
22
>Well, You're better to see the help of KeyPress!!!
>Highlight The Word 'KeyPress' and Press 'F1' to get the help!!
>Or in event Window, select KeyPress Row and Press 'F1' !!

Thanks for the suggestion. As I stated..
>>I've been trying to find a sample if a form's .KeyPress event in action without success.
>

Also..
>>The help and manuals are no help on this. There seems to also be no reference to this in UT's extensive knowledge base

I saw the words in the help but I didn't understand them, thus I came to you good people - and your good self has come back with exactly the sample I need.

Many thanks.

Snipped for brevity
>
>do case
> case nKeyCode = 19 and nShiftCtrl = 2 && Ctrl S
> oToolbar.tbSearch.Click
> case nKeyCode = 2 and nShiftCtrl = 2 && Ctrl Right
> oToolBar.tbNext.Click

This would still activate with Ctrl-b as well as Ctrl-Right. Do I just have to live with that as one answer stated? Or is there another way?

>But You need to see Help first!!

Thanks, been there, done that, came to you afterwards.

Steve
Steve Peacocke
Development Team Leader
Prudential Assurance
Previous
Reply
Map
View

Click here to load this message in the networking platform