Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Class with a grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00596755
Message ID:
00596761
Vues:
16
>Happy Holidays Everyone!!!
>I have a class that is made up of a form with a grid in it.
>the grid has 1 column. When I instatiate the object, I put
>the right number of columns in the grid. The search works fine, but
>what I am tring to do is to on the fly handle the sort. For example,
>Lets say I send 6 Parameters to the class, it will put six columns in the grid.
>But what I want to do is also place thisline of code in to the click event of each header while I am Creating the form on the fly:
>
THISFORM.r_DoTheSort(SomeIndexVariable)
>So I guess the million dollar question is:
>Is it Possible to Add code to the Click event of the header while trying to create it on the fly IF the form I am referencing is classed?
>If it is possible, How can I do this?
>
>Thanks in advance

Mike Helland has a FAQ #7967 here, which explains, how to add method code to grid elements in run-time. Check it out.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform