Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the control in a column of the Grid at run time
Message
 
À
03/12/2001 16:45:38
Christopher Pinnock
United General Insurance Company
Kingston, Jamaique
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00588866
Message ID:
00588971
Vues:
26
PMFJI

You have to add the checkbox first. something like Myform.MyGrid.Mycolumn.AddObject("checkbox1", "MyCheckBoxClass")

BTW, If you just set the grids controlsource = "" before changing the cursor and back to the correct controlsource it should leave the grid columns unchanged.

>Each time the cursor contents are changed and the grid is refreshed the grid displays default columns matching the fields in the cursor. This is the main reason why i have to be setting up the grid each time this happens.
>
>At this point getting in the control is of uttmost importance.
>
>Chris
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform