Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Checkboxes
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Adding Checkboxes
Divers
Thread ID:
00403092
Message ID:
00403092
Vues:
50
I'll add a checkbox as a grid column's controlsource during the grid's init() using this code:

With This.grcPrice
.addobject("chkPrice","checkbox")
.sparse=.f.
.currentcontrol="chkPrice"
.chkPrice.caption=""
.visible=.t.
Endwith

I was wondering why the checkbox is visible, but readonly, when I don't include the ".visible=.t." code. I know that VFP hides controls added with ADDOBJECT(), but why is it visible if I leave that command out? Shouldn't the box not even show up?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform