OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: jmaeding on July 15, 2012, 11:18:36 AM

Title: Possible to synchronize scrolling of two list boxes?
Post by: jmaeding on July 15, 2012, 11:18:36 AM
I have two list boxes side by side, and want to have one scroll when the other does.
I did not see events hooked to scrolling, so am wondering if there could be any tricks to it.
thanks
Title: Re: Possible to synchronize scrolling of two list boxes?
Post by: jbuzbee on July 16, 2012, 08:01:04 AM
ListView control - style:Report?

jbuzbee
Title: Re: Possible to synchronize scrolling of two list boxes?
Post by: jmaeding on July 16, 2012, 08:17:01 AM
that is new to me, how do I set that property?
Title: Re: Possible to synchronize scrolling of two list boxes?
Post by: jbuzbee on July 17, 2012, 11:55:31 AM
Instead of using 2 Listbox Controls use 1 ListView Control with the Style value set to "report".

jb
Title: Re: Possible to synchronize scrolling of two list boxes?
Post by: jmaeding on July 17, 2012, 05:53:51 PM
is that new or something? I am on 6.0.1.2 and the listbox has no style property. I checked the prop lit, the control browser, neither have that property available..
Title: Re: Possible to synchronize scrolling of two list boxes?
Post by: owenwengerd on July 17, 2012, 06:27:24 PM
He referred to the List View (http://www.opendcl.com/HelpFiles/index.php?page=Reference/Control/ListView.htm) control, not List Box.