>>>I have two listbox. The positions are the same for both.
>>>When one the first one is visible=.F., I cannot click
>>>to select an item in the one behind which is visible=.T.
>>>
>>>Is it a bug?
>>
>>< SET SWAG ON >
>>Are you toggling the Visible property of the listboxes of the containers that hold them? If it's only the listbox, then the container is possibly still visible but transparent and it may block your mouse clicks.
>>< SET SWAG OFF >
>>
>>HTH.
>
>And/or you may wish to change the ZOrder too.
>JLK
Per previous post, ZOrder was reported not to work. However, this could also have been due to the wrong object being manipulated. If the ZOrder of the Listbox is used, there won't be any effect because the two listboxes (contained in two different containers) are not on the same level. The ZOrder of the containers themselves would have to be manipulated.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao