Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine height required by data in an edit box
Message
 
 
À
06/03/2003 15:32:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00762425
Message ID:
00762434
Vues:
13
What is the control that you use to display the Memo field? If you use Label control, try to set the AutoSize to .T., in this way, you can determine the starting position of second control by composing the Top and Height of the first control.

hth.




>I have a situation where I want to display the contents of two memo fields on a form. The length of the data in these can vary dramatically. I want to display the first one, and then determine where the data ends so that I can change the height of the first control and the top of the second control to shrink up any dead space on the screen. I need to place a option group just at the bottom of the first memo fields so that the user can click a yes/no answer before starting the second memo field. So I can not do something as simple as combine the memo fields into one object.
>
>Is there some way to determine how much verticle space is required for the object?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform