New topic: ListBox and horizontal scrolling
<http://forums.realsoftware.com/viewtopic.php?t=43886> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message yura-vel Post subject: ListBox and horizontal scrollingPosted: Sat May 05, 2012 7:26 am Joined: Mon Mar 12, 2012 7:34 am Posts: 18 Hello! There is a simple situation - I make SQLSelect from some database, and want to display data from RecordSet in the ListBox( like a simple table ). I don't know, how many columns will be in the answer. I do next steps to prepare listbox: mList.DeleteAllRows mList.Hasheading = true mList.ColumnCount = RS.FieldCount for i as integer = 1 to mList.ColumnCount mList.Heading( i ) = RS.IdxField( i ).Name mList.Column( i ).WidthActual = 150 next When app is running and i get RecordSet with 50 columns, I can see only first 5 columns in the listbox( according to it's widht ), and I do not see horizontal scrollbar to see another columns ( ScrollBarHorizontal is ON ). Why? What i should to do to make scrollbar visible. And one more - if resize app window a width of all columns becomes very small, and they fill all area of listbox. Top timhare Post subject: Re: ListBox and horizontal scrollingPosted: Sat May 05, 2012 12:54 pm Joined: Fri Jan 06, 2006 3:21 pm Posts: 11267 Location: Portland, OR USA Set ScrollBarHorizontal = True. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
