So you want to do a ->GetHScroll or whatever it's called from the bottom control and apply that to the top one? The bottom control is a list control displaying multiple records and you want the selected record at the top controlled by the scrollbar at the bottom? I don't see what that gives you, since presumably, the same record is already displayed in the bottom control? Also I don't see where the independent scrolling comes in. Regards
Steve _____ From: jeff [mailto:j...@roqc.no] Sent: 10 May 2012 14:31 To: Steve Cookson Cc: wxperl-users@perl.org Subject: RE: Controlling multiple wxWindows with a single wxScrollbar ? Steve, Kind of. Heres a screen shot of a mock-up with 2 wxscrollwindows chained together. Would like to get rid of the top scrolled window's scrollbar and possibly stack more windows up to be controlled by bottom horizontal. This is working but it not very clean looking. Ignore the hideous colors too - they just for debugging :-) Attached png. On Thu, 2012-05-10 at 14:17 -0300, Steve Cookson wrote: Is this what we are looking for. Please see attached. Regards Steve -----Original Message----- From: jeff [mailto:j...@roqc.no] Sent: 10 May 2012 12:43 To: wxperl-users@perl.org Subject: Re: Controlling multiple wxWindows with a single wxScrollbar ? Sure, but practice is harder than theory ;-) I've tried a number of approaches and stumble at trying to get position of the visible part of the virtual window OR using the myscrollbar->Connect approach. An example would much appreciated. Thanks. On Thu, 2012-05-10 at 08:11 -0700, Sergei Steshenko wrote: > > > > ----- Original Message ----- > > From: jeff <j...@roqc.no> > > To: wxperl-users@perl.org > > Cc: > > Sent: Thursday, May 10, 2012 2:29 PM > > Subject: Controlling multiple wxWindows with a single wxScrollbar ? > > > > Hi, > > No having much luck. Could someone post a simple example if this can be > > done? Thanks. > > Jeff > > > > Well, from my experience with gtk+ perl bindings, and and not with scroll bar, but with sliders ("adjustment"), slider value can be set too, not only read. > > Regards, > Sergei. > > > ______________________________________________________________________ > This email has been scanned by the Symantec Email Security.cloud service. > For more information please visit http://www.symanteccloud.com > ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________