Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code in grid header
Message
From
03/04/2008 10:19:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
03/04/2008 10:12:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01307846
Message ID:
01307848
Views:
10
>when i code directly in the Click event of the grid header, say for example
>
>wait window "X",
>
>it works without any problems,
>
>however i am unclear on how to do this programatically,
>
>i get the error Click is an event, method or object error.
>
>thanks

Aren't you "doing things programmatically" when you type code?

If you want to attach commands to an event, you may want to check the BindEvent() function.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform