Sorry, I have no idea. I cannot determine any property of the combobox that changes when it is expanded.
Tracy
>I am using a combo box, not a list. How would I do that? Thanks.
>
>>I know sending ctrl-dwnarrow will open it, but I do not know how to determine if it is already opened or not. What I have done in the past to resolve this is to have the listbox have one size for closed and one size for opened:
>>
>> *--IF the size is 23, open it, else close it to 23
>> IF THISFORM.List1.Height = 23
>> *OR* KEYBOARD '{ALT+DNARROW}' PLAIN CLEAR
>> THISFORM.List1.Height = 170
>> ELSE
>> THISFORM.List1.Height = 23
>> ENDIF
>>
>>
>>>How do I know if the list part of a combobox is open or closed?
>>>
>>>TIA,
>>>
>>>Alex
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"