Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Geoff Franklin
  Where is Geoff Franklin?
 Birmingham
 United Kingdom
 Geoff Franklin
 To: Rommel Alix
  Where is Rommel Alix?
 Quezon City
 Philippines
 Rommel Alix
 Tags
Subject: RE: on key label "F1 sure you can"
Thread ID: 33506 Message ID: 33705 # Views: 4 # Ratings: 0
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Tuesday, December 02, 2003 7:40:22 AM         
   


> > * --- Nill out all function key operations to be custom set within the application as required.
> > ON KEY LABEL F1
> > ON KEY LABEL F2
> > ON KEY ...

PUSH KEY CLEAR is a quicker and neater alternative. It also allows you to POP KEY ALL afterwards and restore the settings you had before you started. This pair of commands use a stack to store and retrieve key assignments.

The danger with ON KEY LABEL is that it's global. If you're not very careful about clearing the assignments you find that the key is still active in the rest of the app and in the development environment afterwards. A real pain if it's F1 that's reassigned.

Geoff Franklin
www.alvechurchdata.co.uk

ENTIRE THREAD

on key label Posted by Rommel Alix @ 11/27/2003 5:27:51 PM
RE: on key label Posted by Karben Selim Mejia @ 11/27/2003 7:08:27 PM
RE: on key label Posted by Rommel Alix @ 11/28/2003 2:35:09 AM
RE: on key label Posted by Pete Sass @ 11/27/2003 7:17:00 PM
RE: on key label Posted by Rommel Alix @ 11/28/2003 2:23:52 AM
on key label "F1 sure you can" Posted by Pete Sass @ 11/28/2003 2:11:35 PM
RE: on key label "F1 sure you can" Posted by Rommel Alix @ 11/29/2003 2:57:27 AM
RE: on key label "F1 sure you can" Posted by Geoff Franklin @ 12/2/2003 7:40:22 AM
RE: on key label "Geoff" Posted by Pete Sass @ 12/3/2003 6:35:32 PM
RE: on key label "Geoff" Posted by Geoff Franklin @ 12/4/2003 6:15:13 PM