Hello from Oregon I use listboxes in my RB-built softwares, for data collection and reporting. Recently, I've been seeing listboxes drawn incompletely. A potential customer sent me a screenshot:
http://www.designersdomain.com/corona/HalfDrawnListbox.jpg In the case of a listbox reporting information, the window may be closed and it draws completely on the second try. In the case of data collection (entry) one must close the window and start over, or "fly blind" to complete the entry. Only the list box is partially drawn, all other objects are complete and functional. I've learned from sparse responses on the forum and the language guide that the listbox InvalideCell() call may be what is required to guarantee my listboxes are drawn completely. I've never needed it in my code before, and this issue only shows itself most occasionally. My work's devlopment has always been in a stock 512MB RAM configuration, and I expect the built apps to run in the same with no memory issues. If such a RAM space limits the number of open windows (visible or hidden) then I would expect more than just listboxes be incompletely drawn. As I never needed to use invalidatecell() before, why use it now? I've recently been receiving some really positive correspondence about my work, and RB has made that possible to achieve, but having this intermittent listbox redraw issue surface once in a blue moon is potentially devastating, if not negatively affecting any final decision many who don't write me. Do I need to use InvalidateCell()? Why? When? How? Code examples? I still use "ticling" code to keep scrollbars properly alive, is this a technique I need to apply in this case also. Again, listboxes generally draw correctly, even when working with thousands of data records. My RB built app is quick nimble and I'm happy with the performance, despite the really large footprint. The occasional moment a listbox comes up half-drawn embarrasses the excellent work I've created with RB, and the excellent work of RS. I already understand this is a problem that will not get a lot of attention becuase I cannot duplicate it reliably in a simple project, and it happens so infrequently that I would not ask others to help try to find it. When it happens, one is almost never in debug mode. Unsolved, this issue won't help me advance seven years of RB coding. Any one experienced with listboxes and InvalidateCell(), my manual needs a serious update and examples. Thanks for any information available on this. Yours truly R Charles Flickinger Corona Developer _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
