Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Class Column count increases by 1 (Column0) on form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00172267
Message ID:
00173138
Vues:
28
>Hi Marshal,
>
>>1. Increased the Column Count by 1
>>2. Inserted an extra column named Column0 at the far left of the grid 3. Moved the grid class's Column 1 to the far right of the grid.
>>
>>Has anyone else every encountered this type of behaviour?
>
>Yeah, I traced it down with Andy Kramek on last DevCon. Probably you grid class has somewhere in the class hierarchy the ColumnCount property changed from it's default value.
>
>Christof

Hi Christof, Correct, with assistance from Kamal Patel, that was the case. The interesting thing is that the Column Count of the Grid Base Class was set to -1, which IS the default! Right-clicking on the Column Count Property in the Class designer and selecting Reset To Default fixes the problem. Apparently, VFP does not check the value of the property against the default value but looks at some flag somewhere to see if the property has been manually changed. Strange...

Thanks for your help
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform