Sergey, another quest relating to this topic. When I click on a combo's downarrow, the combo expands only so much. How do I modify the expansion?
>The SetFocus is method not property.
thisform.mylistbox99.SetFocus()
>
>>sorry, it is indeed a listbox. I have other combo's on the form, getting them confused~~~
>>>Is it combobox or listbox?
>>>
>>>>thisform.mylistbox99.SetFocus=.t. from a cmdbutton
>>>>the combo is enabled, style and readonly properties I can't tell, I don't see those properties listed.
>>>>
>>>>>>I am getting readonly error message when I attempt to make a combobox have the focus. Is there a way? Thanks
>>>>>
>>>>>What command are you using and where to set focus to the combobox? What're the values of Enabled, Redadonly and Style properties of combo?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."