Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New RaiseEvent command
Message
From
04/10/2002 00:56:21
 
 
To
02/10/2002 10:38:43
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00706612
Message ID:
00707665
Views:
13
Hi Paul,

Yup, but he could get around that to tying F10 (or, preferably to maintain some sort of Win standard Ctrl+S) to a menu option and have the menu option fire code to check ActiveForm.

But this does solve one problem in that a lot of folks (as you know) would tie menu code to screen UI elements that in turn ran custom methods. So you'd fire a Click of a Form button that would run Save. Now you can use RaiseEvent to fire events/methods that don't necessarily have a UI bound caller. Cool, huh?

>Provided your form actually has a save event, yes (I just tested it).
>But that code only works if there is an activeform, if there isn't you'll get an error.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform