Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiselect Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00368175
Message ID:
00368190
Vues:
39
Hi Martineau,

I used Cetin's class successfully for my own purposes, you can find an example of using it in UT Files section.

The problem is that Grid.Init fires before Form.Init fires, so you can not change the property on the fly, either than changing it in property sheet. The workaround which I use is add a new method for Grid, like GridInit and place the code from Init to this method. Now you can invoke GridInit method from Form.Init or from any controls methods, you want. I really advise you to take a look into working sample, which I put here in UT files section.

Hope this helps.

>Hi all
>I'am testing the Multiselect Grid class made by Cetin
>and i got a problem
>In the Init event of my form I try to do this
>Thisform.MultiGrid.csql="Pnum,Pnom from Produit Order By Pnum"
>When the form show my Multigrid is affected with the value of a another table open in the data environement.
>
>C'an i change the value of the csql propertie on the fly ?
>I'm sure the class work fine but I'm not sure of me using the class
>
>Thank's
>Ben.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform