[Prev][Next][Index][Thread]

Re: Using DUIM's <viewport>



On Thu, 23 Mar 2000 16:45:02   Andrew W Armstrong wrote:
> 
>--
>
>On Thu, 23 Mar 2000 07:15:02   Chris Double wrote:
>>Dustin Voss <agent_@mindspring.com> writes:
>>
>>> Can you (or anyone) think of a way to automatically repaint this?
>>> Maybe hook into some event somewhere?
>>
>>If you don't mind a bit of flicker when scrolling, adding the
>>following method will do the trick:
>
>Nice trick, Chris! A possibility that might work is to add a single drawing pane as the window to be scrolled, and to then add the list boxes to that.
>
>Here's an approximate sketch, I haven't tried this (I'll try and post a real version when I'm at home, unless Chris beats me to it):

OK, here's the real version (it turns out 'define pane' no longer uses <drawing-pane>, so I had to use a different solution):

define frame <scrolling-test> (<simple-frame>)
  pane %column (pane)
    make(<column-layout>, 
         children: vector(make(<push-button>, label: 


MailCity. Secure Email Anywhere, Anytime!
http://www.mailcity.lycos.com