On Jan 04, 2007, at 11:40 AM, Ian M. Jones wrote:

Hi oh wise, experienced ones of the NUG,

I'm looking to implement double clicking the column divider in a listbox header to auto-size the column to the longest contents in that column. Just like Excel does.

Does anyone have any pointers as to how to do this, I'm stuck as it seems listboxes don't implement the DoubleClick event in their headers, and I can't find a way around this.

Anyone implemented such a feature, if so, care to enlighten my dark dark world?

Charles shows you how to implement a double click in a listbox at www.declaresub.com
_______________________________________________
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