Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically change the Grid
Message
 
 
À
26/05/2002 12:56:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00661465
Message ID:
00661483
Vues:
18
In a similar situations I create a grid class (and a textbox for grid as well) and instantiate grid in run-time with thisform.Newobject('grdBldMstr','myGridClass','myLib.vcx')

>I create a grid on a form and it's much easier for me to set properties of the grid in it's INIT method rather than in the grid property window on the form itself.
>So I put some values for this.recordsource, this.columncount,
>this.column1.header1.caption, this.column1.controlsource, this.column1.inputmask etc. in the grid INIT method and it works fine and what is important for me, it's easily looked over all columns at one place.
>The problem is only when I want to put some code on the column methods, like this.column1.text1.valid because it's not as easy as set the column properties.
>So, how can I do it?
>
>Thank's, Zlatko.
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