Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on BINDEVENTS
Message
De
21/10/2003 09:50:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Question on BINDEVENTS
Divers
Thread ID:
00840640
Message ID:
00840640
Vues:
42
I tried this as a test, and maybe I just had the syntax wrong, but I figured I'd ask instead of going down a dead-end.

When I associate a method to an event with BINDEVENTS, can I set it up to pass a parameter to my custom method?

For instance, I have a grid with 6 columns. I want to run a method when the CLICK event fires for each column header. But I want to pass the controlsource of the column associated with the heading being clicked.

The 'old' snippet code that I had in each column heading CLICK event was...

ThisForm.SortColumnHeading(This.Parent.ControlSource)

When I issue BINDEVENT statements up front for the column headings, can I 'pass ahead' a reference to the column heading's controlsource as a parameter?

Thanks,
Kevin
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform