Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using On Key Label
Message
From
29/06/2001 03:42:33
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Using On Key Label
Miscellaneous
Thread ID:
00525060
Message ID:
00525060
Views:
42
Hello everyone,

I have a procedure to be run when using press the keyboard, my code is like:
on key label 0 MyFunction("0")
on key label 0 MyFunction("1")
.
.
.
on key label 0 MyFunction("Z")
of course I dont want to repeat the code 36 times, so I tried this:
for-loop(i)
  Chk=transform(i)
  on key label &Chk MyFunction("&Chk")
endfor
but there is syntax error with it, is it possible to do it in a simpler form? or must I repeat the code 36 times?

Thanks a lot!
error(503): file structure failure, signature file corrupted.
Next
Reply
Map
View

Click here to load this message in the networking platform