[futurebasic] Re: [FB] Scrolling List RECT

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2001 : Group Archive : Group : All Groups

From: Matthew Beedle <matt@...>
Date: Fri, 18 May 2001 10:27:18 -0700
I would suggest that you make a rect for the frame, then copy the rect
of the list over to it, and add 16 pixels.. the below example _should_
fit the bill.

dim editFieldRect as rect
editFieldRect = listH&..rView
call setRect (editFieldRect,10,10,50,50)
editFieldRect.right% = editFieldRect.right% + 16



Ken Shmidheiser wrote:
> 
> I have a window with two scrolling lists. HIG says in such a cases,
> the active listbox should be framed (have focus). I can obtain the
> list RECT with:
> 
> listH&..rView%
> 
> However, this RECT does not include the width of the 16 pixel
> scrollbar. How do I add the scrollbar width to rView%?
> 
> Also, can I assume that keyboard focus will be handled automatically
> under the Appearance runtime?
> 
> Ken
> 
> --
> To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>

-- 


Best,

.--------------------------------------------,
| Matthew Beedle - Foxchange Software        |
|                                            |
| mailto: matt@...                 |
| HTTP:// www.foxchange.com/~matt/index.html |
`--------------------------------------------'