[futurebasic] Re: [FB] ClipControl

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2012 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Wed, 11 Jan 2012 11:05:03 +1300
Robert Covington wrote:

> What is different in FB5, vs FB4 and earlier, where scrolls could be clip protected, and still work (OS could draw still), and now, where they can be clip protected, but will then no longer draw? Is there any way to have this clip protected, but still let the thumbs update during a scroll during my mouse drag?

I seem to remember that in FB3/4, when a thumb was moved with the 'scroll button' statement, the scroll bar (via special runtime code) would add itself to the clip region, redraw, then restore the previous clip.

You could get a similar effect like this: 
fn ClipScrolls( wndID, _false )
scroll button .... // move thumb
fn ClipScrolls( wndID, _true )