Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a parameter to the bindevents()
Message
From
22/09/2003 04:09:23
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
22/09/2003 02:20:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00830988
Message ID:
00830991
Views:
24
This message has been marked as the solution to the initial question of the thread.
Hi Valentin,

You cant do this with Parameters. What you can do is to bind the same Method on each header click and do something like
if AEVENTS(laEvents,0)>0 THEN
 loHeader = laEvents(1,1).Name
endif
to get an reference to the Header clicked.

HTH
Agnes
>Hi Everyone,
>
>Is there a way on how to pass a parameter to the bindevents()?
>
>What I am trying to do is that I have a grid where the number of columns are variable. The number of columns in the grid is to be determined at run-time.
>What I would like to do is that everytime the user clicks on the Header column, it will trigger my own method and pass the header name or column name to my bind method.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform