Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange behaviour of Grids
Message
De
11/11/2004 03:48:03
 
 
À
11/11/2004 03:41:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00960305
Message ID:
00960306
Vues:
9
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 ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform