[futurebasic] RE: [FB] CDEFS again

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 1998 : Group Archive : Group : All Groups

From: Chris.Young@...
Date: Wed, 9 Dec 1998 16:23:26 -0600
On Wednesday, December 09, 1998 3:29 PM, WEdwards 
[SMTP:WEdwards@...] wrote:
> 
> I forgot all about this one.  I created a CDEF (the same one) and
> decided that I wanted (at the same time) to add a scroll bar to the
> right (one stop shopping).  I created a scroll bar from INSIDE the 
CDEF
> using NEWCONTROL.  The problem is that it does not respond to any 
mouse
> clicks. I even set the control refcon so that FB recognizes it.  I've
> been pouring over the Control Manager in IM and can find no reason why
> it should not respond.
> 
> Any ideas, suggestions.
>
Waverly,

Your main control (not the scroll bar) is probably receiving the 
clicks, etc. instead of the scroll bar. I believe you will need to 
determine within your CDEF where the click has occurred, and if in the 
scroll bar region, handle it accordingly (probably during a 
trackControl event).

hth
Chris Young