New topic: Listbox refresh
<http://forums.realsoftware.com/viewtopic.php?t=30436> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message Len Post subject: Listbox refreshPosted: Sun Oct 11, 2009 6:31 pm Joined: Sat Sep 26, 2009 4:55 pm Posts: 41 I am having an issue refreshing screen painting in a listbox. Basically, I output a listbox and paint certain cells a particular color based on certain criteria. This all works well and is performed by the CellBackgroundPaint action. In a separate subroutine (not part of the listbox above), I perform an action and when I am done, I need to repaint the before mentioned listbox because the status of one or more of the cells has changed. I have tried: Code: mylistbox.refresh and Code: mywindow.mylistbox.refresh and Code: mywindow.refresh I cannot get the CellBackgroundPaint action to execute in mylistbox which has the rules to color the cells. I've tried several methods, but cannot get this action to execute. What am I missing? Thanks Top timhare Post subject: Re: Listbox refreshPosted: Sun Oct 11, 2009 8:29 pm Joined: Fri Jan 06, 2006 3:21 pm Posts: 6525 Location: Portland, OR USA Use ListBox.InvalidateCell in addition (or instead of? don't recall ofhand) to Listbox.Refresh. Top Len Post subject: Re: Listbox refreshPosted: Sun Oct 11, 2009 9:32 pm Joined: Sat Sep 26, 2009 4:55 pm Posts: 41 Thanks. I will try and repost my results. I am very thankful to the RB community on these boards. You have all been a great help and I thank you. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 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]
