Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Control Width of Drop-Down List?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00191501
Message ID:
00191590
Vues:
18
>Rick,
>
>Time to get out the debugger and check the vlaue of the columnwidth property for the combo. Put a breakpoint on it and see when it changes.

Just to save anybody else the trouble of pointing it out, it turns out that the Width property is always read-only when it applies to a control contained in a Column object.

In the form designer, the Width property of all the controls in every column of every grid I've checked shows as 10. Yet when a form is run, controls in a grid apparently take on the width of the column they're contained in... but evidently without actually changing the control's Width property, according to the debugger. So the question is: at run time, when does VFP calculate the width of a control contained in a Column object, and where does it store this value?
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform