At 9:22 PM +0200 30/4/07, Arnaud Nicolet wrote: >Le 30 avr. 07 à 20:26 Soir, Giuseppe Farese a écrit: > >> Hello: >> >> I'm using RB2007r2 and I'm trying to add rows to a listbox. >> >> After adding the first row, the method ends abruptally. >> >> This is the first time in many years of using RB that I get this >> strange behavior. >> >> A movie with a step by step in the debugger is here: >> >> http://www.bebosoft.com/tmp/RB-Debugger.mov >> >> Any hint or help is appreaciated. > >I get this strange behavior sometimes. Usually, it's because of >something that makes problem elsewhere (in the case of a listbox, I >often check the code in the CellBackgroundPaint event, for example). >It's most of the time caused by something specific (such as a >declare, a MacProcID or ambigus code). >It's usually not easy to find out (in my case, it happen when the >project becomes large). > >It's all I can say. Try removing some parts (first, the not-needed >ones) even if you think it's not related.
I also check to see if the listbox is NULL.... -- Cheers, Dr Gerard Hammond MacSOS Solutions _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
