-------------- Original message -------------- From: Guyren Howe <[EMAIL PROTECTED]>
> I'm doing drag from a listbox that sometimes is displaying a > scrollbar, sometimes not. When it is displaying the scrollbar, I need > to return False from my MouseDown handler, so the scrollbar behaves > normally. > > But I can't see a way to determine whether the scrollbar is > showing. I can see some inelegant solutions, but is there something > obvious I'm missing? Assuming you are talking about he vertical scrollbar: Determine (or set) row height then just see if you have more rows than would fit in the content area (assume header height is 20 IIRC) Then to see of the click is in teh scroolbar see if X > width - 16 (Or 20 I can't remember for sure) This is making some assumptions but as RB does not provide header height, RowHeight, Scrollbar width.or content area dimensions you need to do that. - karen _______________________________________________ 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>
