>>>>>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".
>
Sorry, Alignment is not available when Style=2, so you get it Right anyway. So make it wider, or change contents to Character.
Edward Pikman
Independent Consultant