The column number returned when you click the scrollbar is greater than the
number of columns you have.  You can check ColumnFromXY >= ColumnCount to
tell whether you clicked the scrollbar.

Tim


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Guyren
> Howe
> Sent: Tuesday, October 03, 2006 3:16 PM
> To: REALbasic NUG
> Subject: Re: Listbox: how to ignore MouseDown on scrollbar
>
>
> On Oct 3, 2006, at 4:58 PM, [EMAIL PROTECTED] wrote:
>
> >> On> What is your original problem? Not knowing if you clicked on the
> >> Scrollbar or not? Do you know about the ColumnFromXY and RowFromXY
> >> methods of the Listbox class?
> >
> > I had forgotten about those! Yes they would work.
>
> Sadly not. ColumnFromXY indicates I clicked in a column, even when I
> clicked in the scrollbar.
>
> Guyren G Howe
> Relevant Logic LLC
>
> guyren-at-relevantlogic.com ~ http://relevantlogic.com
>
> REALbasic, PHP, Python programming
> PostgreSQL, MySQL database design and consulting
> Technical writing and training
>
>
> _______________________________________________
> 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