I don't know what version of RB you're using, but I just placed this code in the MouseDown event of a ListBox:

Beep
Return True

And sure enough, the event fired properly, even over the header. The only "bad" thing about this event is that it fires over the scrollbar too if I remember correctly. It would be great if RB had some way for us to find out the "hit" part of these kinds of controls.

Conclusion: The ListBox in version REALbasic 2006r1 properly fires the MouseDown event, even over the headers.

- Ryan Dary

Emile Schwarz wrote:


[EMAIL PROTECTED] wrote:

Subject: Re: CMM in List box header
From: Ryan Dary <[EMAIL PROTECTED]>
Date: Fri, 24 Feb 2006 14:33:40 -0800

Why not just capture the MouseDown event in the Listbox itself.


Maybe because there is not such event that fires when you clicked in the ListBox header ?


_______________________________________________
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>

_______________________________________________
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