Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclass GRid in a container
Message
De
05/04/2000 22:05:45
 
 
À
05/04/2000 11:30:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00355724
Message ID:
00356037
Vues:
18
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
Fil
Voir

Click here to load this message in the networking platform