Le 04/11/2012 11:54, Bruce a écrit : > This used to work > tvwJockeys.Add(Subst("R&1#&2", cs.RaceNo, cs.BP), > Subst("(R&2 ... #&3) &1", cs.HorseName, cs.RaceNo, cs.TabNo),, > cs.Jockey) > > OK, I'll simplify :-) > > tvwX.Add(somekey, sometext,,parent) > > no Picture, no After. > > Now I get a "null object" error. I think its due to the empty parameter > [Optional Picture as Picture]? ... because every other cs.something is > valid. > > ... >
tvwX.Add(somekey, sometext,,parent) is perfectly valid. So you must give me more information about where you get a null error. Ensure that cs is not null before calling tvwJockeys.Add(), to find what is null exactly. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user