On Jul 12, 2006, at 4:07 PM, Craig Hoyt wrote:

I have a strange requirement... I have a hierarchal listbox and when built all folderrows are automatically expanded. Thus showing all items in the list. I want to prevent the user from clicking on the disclosure triangle and collapsing the row. I can't disable the listbox because the nature of the list is it can get pretty long and I need the user to be able to scroll the list only. Everything I do to disable a mouse click doesn't seem to effect clicking on the disclosure triangle. The event for the triangle is either being fired before all other events and handled separately or directly after all other events and overriding anything set prior in another event. Is this possible? How do I overcome this?



You could return true in MouseDown if the click looks like it's in a disclosure triangle.

Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to