This is a known bug.
Dave
>I has a container that contain a grid with columncount = -1 and saved as a class name: CNTBASEGRID in TESTBASE.VCX
>
>Now I create a new class based on CNTBASEGRID and change the COLUMNCOUNT to 3 and save it as CNTCHILDGRID in TESTBASE.VCX.
>
>Here is the kicker or problem??????
>
>set class to testbase.vcx
>lo = create ('form')
>lo.addobejct("grd","cntchildgrid")
>lo.grd.visible = .t.
>lo.show
>
>
>Guess what
>lo.grd.columncount has changed to 4 instead of 3
>
>Seem like whenever I drop the CNTCHILDGRID to a form or a new class its added a new column to the grid. Any Idea? Try it yourself if you can reproduce it.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement