Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange behaviour of Grids
Message
From
11/11/2004 03:48:03
 
 
To
11/11/2004 03:41:13
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00960305
Message ID:
00960306
Views:
8
I debug the form and I saw that the program add a column (COLUMN0) to the grid and set its controlsource to the first field of the cursor....
I'll try to programmatically remove the column but... it's not the solution i want to use anyway.
Any Ideas ?
Alessio

>I already came into this problem but I can't remember how I got rid of it .
>I have a form with a grid object inside it. The grid Object has 4 columns already formatted with their width and header caption, the first columns contains a commandbutton I use to delete the record.
>I did not set any recordsource property yet.
>When I call this form from a formset (thisformset.addobject('Myform','TheClassForm') ) I assign the recordsource to the grid and the controlsource to each of the column. The problem is that the grid has more columns, it seems like it autofit itself to show all of the field of the cursor I associate to it.
>What can I do ?
Previous
Reply
Map
View

Click here to load this message in the networking platform