Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to re-create all columns in grid
Message
 
 
To
14/09/2001 13:22:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00556193
Message ID:
00556658
Views:
38
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform