Re: ON KEY usage in your apps

Author: Gene Wirchenko

Posted: 2018-09-18 at 20:18:03

At 14:03 2018-09-18, mbsoftwaresolutions@mbsoftwaresolutions.com wrote:

>VFP9SP2 on Win7/8/10 pcs

>

>I really never fully took advantage of this gem in VFP. In my apps,

>I haven't allowed editing in grids in probably 14 years. Some of my

>users seem to want that though so I'm thinking of allowing such ability now.

>I was thinking of using ON KEY to pop up a lookup form to add data

>records to the grids (instead of that native whatever way of doing

>an APPEND blank in the native VFP grid).

>

>In the past, I've really just used ON KEY to pop up the help file on demand.

>

>In what other ways have you used ON KEY in your designs?

I use

on key label "ctrl+0" *

so .null. can not be entered into controls.

I also enjoy the minor joke of

*

being executable in this control. Note that it does not mean the same as

on key label "ctrl+0"

Sincerely,

Gene Wirchenko

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/901f7bd9393ecc6ffb51b353985c30f8@mtlp000085

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2018 Gene Wirchenko