Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sizing containers in a grid column
Message
 
À
07/09/1999 10:34:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00261933
Message ID:
00262704
Vues:
22
>>Have a couple of grids that require a container object to be inserted as a memeber of a column. The size of the container always seems to keep it's default height & width (that which it was created with) and not allow it to change in code. If the container's height & width is changed in .Init, we're typically trying to change these properties to the grid's row height and column width, then it resizes fine. If we try to change the height and width in code, then the new values simply don't take effect. Any ideas here?
>>
>>Thanks,
>>Steve
>Steve,
>A container in grid is dependant of its column width + grid.rowheight. Also change them. This is partial code I use to set grid column size :
with this
>	if .parent.baseclass="Column"			&& We are in a grid
>		.parent.parent.rowheight	= .Height
>		.parent.width			= .Width
>                .parent.refresh && If changing on tghe fly - ie:gotfocus
Cetin

Cetin,

In my description, I indicated that I am are trying to change the height and width to the "grid's row height and column width".

Steve
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform