New topic: To hide a row of a listbox.
<http://forums.realsoftware.com/viewtopic.php?t=31368> Page 1 of 1 [ 5 posts ] Previous topic | Next topic Author Message forisco Post subject: To hide a row of a listbox.Posted: Wed Dec 02, 2009 6:23 am Joined: Thu Feb 07, 2008 2:21 pm Posts: 215 Location: Italy How to hide (not remove) a row of a listbox? My listbox have 8 columns and a large number of rows. Bye _________________ RealBasic 2009 Release 5 Standard Edition on Windows Vista SP2 and on Windows 7 Beta 7000 Database Engine : ADODB (Microsoft Access MDB) - Report Engine : RPDF Top applesource Post subject: Re: To hide a row of a listbox.Posted: Wed Dec 02, 2009 6:27 am Joined: Thu Aug 06, 2009 2:25 pm Posts: 214 Location: Oregon I don't believe you can show or hide a row on the fly. Ideally, the listbox wouldn't be the sole collector of data, you'd have the data in either an array of variables, a custom class, or a database. In order to hide/show the rows you wanted, you'd need to write your code to handle this and "skip" certain rows when populating the listbox based on that criteria. _________________ AppleSource Software http://www.applesource.biz Top forisco Post subject: Re: To hide a row of a listbox.Posted: Wed Dec 02, 2009 6:36 am Joined: Thu Feb 07, 2008 2:21 pm Posts: 215 Location: Italy Yes, i take the data of the listbox from a database, but i make the modifies in the listbox and i want to see (before to save the data in the database) only a group of rows : i need a method on the fly! There's no hope? _________________ RealBasic 2009 Release 5 Standard Edition on Windows Vista SP2 and on Windows 7 Beta 7000 Database Engine : ADODB (Microsoft Access MDB) - Report Engine : RPDF Top timhare Post subject: Re: To hide a row of a listbox.Posted: Wed Dec 02, 2009 12:07 pm Joined: Fri Jan 06, 2006 3:21 pm Posts: 6867 Location: Portland, OR USA You would need to set up a separate structure for actually storing the data and use the listbox merely as a data view. Rows in a listbox either exist or they don't exist. They cannot be "hidden" the way a column can. Top Pariahware Post subject: Re: To hide a row of a listbox.Posted: Wed Dec 02, 2009 5:43 pm Joined: Fri Sep 30, 2005 10:00 am Posts: 977 Location: Raleigh, NC You could always switch to the Einhugur StyleGrid which will allow you to adjust individual row heights. _________________ Christian Pariahware, Inc. Mac, Windows, Linux, & iPhone Consulting [email protected] http://www.pariahware.com/ The Association of REALbasic Professionals http://www.arbp.org/ -- God loved you so much that He gave His only son Jesus. What have you done with God's gift? Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 5 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]
