Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 To: FoxGuy Ruiz
  Where is FoxGuy Ruiz?
 hawthorne
 California - United States
 FoxGuy Ruiz
 Tags
Subject: RE: on key label
Thread ID: 143563 Message ID: 143566 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Wednesday, August 29, 2007 11:00:06 PM         
   


> Hello i assigned an on key label to the F11 key on the keyboard. When i press the F11 key it opens a form, but for some reason everywhere on my program the F11 key is functional. Is there a way that i can deactivate this f11 key after I used on that specific place, or what code can i use in the command button of the form that releases the form that can do this task.
>
>
> Thanks

You can assign it on form.activate and clear on form.deactivate. But is there a reason you're not using form.keypress instead of "on key"?

Cetin Basoz

ENTIRE THREAD

on key label Posted by FoxGuy Degante @ 8/29/2007 10:52:04 PM
RE: on key label Posted by Hugo Ranea @ 8/29/2007 10:59:21 PM
RE: on key label Posted by Cetin Basoz @ 8/29/2007 11:00:06 PM
RE: on key label Posted by Willson de Veas @ 8/31/2007 11:52:23 PM