Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Hugo Ranea
  Where is Hugo Ranea?
 Vancouver, BC
 Hugo Ranea
 To: FoxGuy Ruiz
  Where is FoxGuy Ruiz?
 California - United States
 FoxGuy Ruiz
Subject: RE: on key label
Thread ID: 143563 Message ID: 143565 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Wednesday, August 29, 2007 10:59:21 PM         


The easiest way would be to have a property in the form to save the key label status so when you initialize the form you save the current ON KEY and you restore it when you Release the form

* In the init
thisform.cOnKeyF11 = ON('KEY', 'F11')
ON KEY LABEL F11 && Clears it

* In Release or Unload
lcOldKey = thisform.cOnKeyF11
ON KEY LABEL F11 &lcOldKey && Resets it

"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges


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