Thread: Combo Box
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Combo Box

If yes, then when the form is shown, the last element is
selected and if you press the down key, it will just jump to what ever
next selectable control is there, down the combobox


I couldn't reproduce that behavior. If it was at the bottom of the list and
I hit the down arrow, it remained at the bottom of the list. also, I could
set the value property which set the text property, but I couldn't set the
text property manually.


--
Regards,
Tom Ogilvy




"Sharad" wrote in message
...
When you press the arrow keys - up or down, it acually makes the
selection of the up or down element in the list.
When you scroll up and down with the mouse by clicking on the combobox
arrows, it just scrolls without changing the selection.

So now, in the properties of the combobox in question, check what value
is entered in the 'Text' field. Is the entered value the last element in
the list? If yes, then when the form is shown, the last element is
selected and if you press the down key, it will just jump to what ever
next selectable control is there, down the combobox.

So you can either enter the first element in the text field, or leave
the text field blank.

Sharad


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!