Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a parameter to the bindevents()
Message
De
22/09/2003 04:09:23
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
22/09/2003 02:20:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00830988
Message ID:
00830991
Vues:
25
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]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform