Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid by genxtab cursor
Message
 
 
À
18/01/2004 08:54:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00867912
Message ID:
00867923
Vues:
18
Chaim,

Whenever your cursor changes:

select TheGenXTabCursor
thisform.grdXTAb.ColumnCount = -1

this will tirgger the grid to rebuild itself.

One downside to this is though that you will lose all of the code and property assignments attached to the columns, headers and textboxes in the grid. If this is a problem, you can easily reapply property settings, or recontruct the grid using your own AddObject() calls. If you want some more help with this part, just post again.

>I have to do a form with grid.
>The grid source is genxtab cursor (sometimes 3 columns, sometimes 10 columns).
>How can I change the columns count and columns caption according the current cursor.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform