Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On key
Message
From
22/07/2005 20:27:32
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
22/07/2005 10:13:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: On key
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01035110
Message ID:
01035330
Views:
14
>Is there any way to issue more than one command when assigning it to the ON KEY command without directing it to run a procedure of commands elsewhere? can you issue more than one command on the same ON KEY command?

You can concatenate function calls, if that helps:

on key label alt-shift-z =date(), time(), sin(3.14), myudf()

They all get executed, and the results discarded. This way of calling a bunch of functions was introduced in FP2.0 and I always thought there may be some use for it, apart from obfuscation. Still works.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform