Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to re-create all columns in grid
Message
 
 
À
14/09/2001 13:22:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00556193
Message ID:
00556658
Vues:
37
I just tried this code after dropping a combobox in one of the grid columns. I do not get the C5. Can you provide the code that you have in the combo methods so we can try to replicate this error?

>I tried, but this produces also C5 error.
>
>I found that C5 error occurs only if grid contains combobox. If grid contains only textboxes, C5 error does not occur.
>
>>More complete code:
>>LOCAL lnCount, lnI
>>lnCount = ThisForm.Grid1.ColumnCount
>>FOR lnI = lnCount TO 1 STEP -1
>>	ThisForm.Grid1.RemoveObject(ThisForm.Grid1.Columns(lnI).Name)
>>ENDFOR
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform