Re: [Lazarus] TTIGrid crashed after calling ListObject.Add

2014-12-09 Thread John Landmesser
no crash on a 32bit Windows XP with Lazarus 1.3 r47147 FPC 2.6.4 i386-win32-win32/win64 2014-12-09 4:39 GMT+01:00 Kiên Nguyễn Tiến Trung : > I'm finding the way to add something into a TCollection while using > TTIGrid on it. I've tried following code, however, when I click Button1, > then click

Re: [Lazarus] TTIGrid crashed after calling ListObject.Add

2014-12-09 Thread Howard Page-Clark
On 09/12/2014 10:41, John Landmesser wrote: no crash on a 32bit Windows XP with For me it sometimes crashes, and sometimes does not (Win7 32-bit). The problem is not with adding an item to TCollection (which is fine as far as I can see), but probably some hard to find bug in the LCL which TTI

Re: [Lazarus] TTIGrid crashed after calling ListObject.Add

2014-12-09 Thread Kiên Nguyễn Tiến Trung
It doesn't crash immediately after clicking Button1. In my case, I must click into the TIGrid, then it crashes. 2014-12-09 19:31 GMT+07:00 Howard Page-Clark : > On 09/12/2014 10:41, John Landmesser wrote: > >> no crash on a 32bit Windows XP with >> > > For me it sometimes crashes, and sometimes d

[Lazarus] QCoreApplication::postEvent: Unexpected null receiver

2014-12-09 Thread FreeMan
error create after form destroy, so many times I check All class & components is free. "TFRM_.FormDestroy( >3" this is debugln command last code on onformdestroy. Access violation some time create and stop "QCoreApplication." message and application continue I couldn't find this error as lo

[Lazarus] Only VCL-compatible components in LCL

2014-12-09 Thread Michael Fuchs
Hello, some months ago, I wrote a a time-input component, which is oriented on the TDateEdit. Another programmer gave me the idea to integrate it to the LCL. So I add a entry to the bugtracker and attach a patch. http://bugs.freepascal.org/view.php?id=27147 In the bugtracker discussion, Juha Mann

Re: [Lazarus] Only VCL-compatible components in LCL

2014-12-09 Thread leledumbo
> But what is the problem with new components? No problem with that I guess, but the "competes" part could be. i.e.: there are two competing components which do the same thing (and belongs to the same package: LCL) with one of them is not VCL compatible. -- View this message in context: http:

[Lazarus] Real number display

2014-12-09 Thread Larry Dalton
How do I get a real number to display as a decimal in a dbedit instead of an exponential number? Sent from my iPhone -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Real number display

2014-12-09 Thread Chris Kelling
RealNumber := 1.5; FloatToStr(RealNumber:2,RealStr); DbeditBox.text := RealStr The ":2" specifies the number of decimal. If you were using WRITE to output to the console, it would look like: RealNumber := 13.3456; writeln('Number = ',RealNumber:3:2); Which would output Number = 13.34 The firs

Re: [Lazarus] Real number display

2014-12-09 Thread Larry Dalton
Works great! Thanks! Sent from my iPhone > On Dec 9, 2014, at 22:23, Chris Kelling wrote: > > RealNumber := 1.5; > FloatToStr(RealNumber:2,RealStr); > DbeditBox.text := RealStr > > The ":2" specifies the number of decimal. If you were using WRITE to output > to the console, it would look like

Re: [Lazarus] QCoreApplication::postEvent: Unexpected null receiver

2014-12-09 Thread zeljko
On 12/09/2014 04:32 PM, FreeMan wrote: error create after form destroy, so many times I check All class & components is free. "TFRM_.FormDestroy( >3" this is debugln command last code on onformdestroy. Access violation some time create and stop "QCoreApplication." message and application con