Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Center Checkbox in a Grid
Cetin,
I'm trying to center a checkbox in a grid....I must be missing something on how to add the container and checkbox to the grid. One way and I get an error in the column.currentcontrol of "Expression evaluated to an illegal value". The other way, once I set the column.currentcontrol to the container, at runtime the checkbox is not found. What am I missing? Is there a special way of adding the checkbox to the container and then to the grid ??
In the grid.init I have:
with this.column6
.container1.check1.controlsource=.controlsource
endwith
In the container.init I have:
with this.check1
.Left=(this.parent.width-.width)/2
endwith
Many thanks,
Greg
Suivant
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