Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Container
Message
De
20/08/1998 02:09:06
 
 
À
19/08/1998 12:17:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00128167
Message ID:
00128382
Vues:
14
>I've centered a checkbox in a container object to be used in grids. I have used this object in a grid and it works fine. The problem is that when the gridcolumn is rezized horizontally, the checkbox will not remain centered. Is there something that can be coded in the containers resize method that will keep the checkbox center at all times within the grid column? Thanks in advance for any help someone can offer.

Hi John

You have to make the container resize automaticly.

If you set:
Container.Width = Container.Parent.Width in the Container.Refresh()

Do the sane with the height if it is nessesary
Benn Kjaer
MS Certified Professional - Visual Foxpro

"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform