Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox InputMask
Message
 
 
À
29/03/2007 11:29:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01209790
Message ID:
01209813
Vues:
19
>>>>I have a combobox with RowSourceType is 5 (array). The values in the array are numbers. Even though the numbers only range from 1 to 100, I have to make combo quite wide to make sure that number is visible. I want to reduce the width of the the combo and thought that I could adjust how the value is displayed by entering "99" in the InputMask but it does not work. No matter what I enter in the InputMask of the combo, he value does not stay there (clears after I press Enter key).
>>>>
>>>>What am I missing?
>>>>
>>>>Thank you.
>>>
>>>InputMask is for typing entry. Do you have Combo.Style=0 or 2? Also, on which point you want to adjust the width? It's supposed to accomodate the widest selection, i.e. 100.
>>
>>The Combo.Style is 2. I am not sure I understand the question about the "which point". Let me give you an example. I made the combo width 60 and the numbers (e.g. 1,2,3) were showing so close to the right edge of the combo text that it was difficult to see them. When I made the width 80, the numbers were well visible. So I thought that by adjusting the InputMask the number will show more towards the left. I hope I am clean in my explanation.
>>
>>Thank you.
>
>InputMask has nothing to do with that. You could certainly try to change Alignment (numbers are right-aligned by default), but it doesn't look as too important.

Alignment Left is default so changing it to Right does not make sense. And you understand correctly that this is not "too important".

Thank you for your help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform