Re: [Lazarus] Something goes wrong while streaming nested components

2015-10-26 Thread Kiên Nguyễn Tiến Trung
Thank you. Vào 18-10-2015 22:11, "Mattias Gaertner" <nc-gaert...@netcologne.de> đã viết: > On Sat, 17 Oct 2015 15:18:12 +0700 > Kiên Nguyễn Tiến Trung <kc97...@gmail.com> wrote: > > > I have been successful to save a component to a text file. However, I &g

[Lazarus] Why is AsyncProcess still disabled under Linux I386?

2015-10-14 Thread Kiên Nguyễn Tiến Trung
Today I have just faced a same problem in the following article: http://lazarus.lazarus.freepascal.narkive.com/dCiCiyW2/tasyncprocess-onterminate-doesn-t-fire {$IFNDEF DisableAsyncProcess} {$IFDEF Linux} {$IFDEF CPUI386} *{off $DEFINE UseAsyncProcess}*{$ENDIF} {$ENDIF} {$ENDIF} Why is

Re: [Lazarus] Prevent from deadlock while writing something large to a pipe

2015-10-09 Thread Kiên Nguyễn Tiến Trung
Thank you. I will try again with multi threading. 2015-10-09 22:10 GMT+07:00 Sven Barth <pascaldra...@googlemail.com>: > Am 09.10.2015 16:37 schrieb "Kiên Nguyễn Tiến Trung" <kc97...@gmail.com>: > > > > I want to send a big amount of data to a child process

[Lazarus] Prevent from deadlock while writing something large to a pipe

2015-10-09 Thread Kiên Nguyễn Tiến Trung
I want to send a big amount of data to a child process through pipe. However, it is stated in the documentation that writing too much into the pipe may cause a deadlock. TProcess.Input Input is a stream which is connected to the process' standard input file handle. Anything written to this stream

[Lazarus] Streaming TStringList with associated objects

2015-06-19 Thread Kiên Nguyễn Tiến Trung
I have a TStringList containing some strings. Each strings is associated with an object typed TPersistent. I realize that, when streaming TStringList, all of associated objects are ignored. What I have to do? -- ___ Lazarus mailing list

Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-03-25 Thread Kiên Nguyễn Tiến Trung
When will FPC 3.0.0 be released officially??? 2015-03-24 19:26 GMT+07:00 Mark Morgan Lloyd markmll.laza...@telemetry.co.uk: zeljko wrote: On 01/10/2015 02:39 PM, Mattias Gaertner wrote: On Sat, 10 Jan 2015 12:49:04 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mark

Re: [Lazarus] Tutorial: Animating with easings

2015-03-25 Thread Kiên Nguyễn Tiến Trung
Nice! Although I don't need it, it is a good project. 2015-03-24 22:54 GMT+07:00 Anthony Walter sys...@gmail.com: I've posted a video of the Linux version: http://cache.getlazarus.org/video/surface_easing_ubuntu.mp4 -- ___ Lazarus mailing list

Re: [Lazarus] Align/Anchor to widest label

2015-03-25 Thread Kiên Nguyễn Tiến Trung
I prefer setting property Align to alTop. Although it is not so nice, it brings me a huge advantage. There is no need to set anchors, so it will be easy while adding/removing components. As a result, designing time will be reduce considerably. Additionally, you will no longer need to be worry

Re: [Lazarus] button need increase height

2015-02-26 Thread Kiên Nguyễn Tiến Trung
Could you show me the value of the property BorderSpacing? I think that this issue depends on your system. 2015-02-26 19:28 GMT+07:00 FreeMan freema...@delphiturkiye.com: fpc r30015 lazarus r48016 osx x64 qt Painted square line's height need little bit increase I think this is TBitBtn, and

[Lazarus] When loading a TComponent from file, method Loaded fired but method Loading not.

2014-12-17 Thread Kiên Nguyễn Tiến Trung
Today I has found this problem. Although it isn't too serious, I strongly think that it is a bug and it should be patched. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] When loading a TComponent from file, method Loaded fired but method Loading not.

2014-12-17 Thread Kiên Nguyễn Tiến Trung
Thank you, I will ask on FPC list. 2014-12-17 15:43 GMT+07:00 Mattias Gaertner nc-gaert...@netcologne.de: On Wed, 17 Dec 2014 15:10:34 +0700 Kiên Nguyễn Tiến Trung kc97...@gmail.com wrote: Today I has found this problem. Although it isn't too serious, I strongly think that it is a bug

Re: [Lazarus] Fwd: Need help in streaming components

2014-12-15 Thread Kiên Nguyễn Tiến Trung
I got it! Thank all of you very much. 2014-12-15 17:49 GMT+07:00 Mattias Gaertner nc-gaert...@netcologne.de: On Mon, 15 Dec 2014 07:34:12 -0300 Glaucos Ginez glaucosgi...@gmail.com wrote: Try TObjectList. That does not support streaming. [...] I want my TClass1 can contain many

Re: [Lazarus] Fwd: Need help in streaming components

2014-12-14 Thread Kiên Nguyễn Tiến Trung
streaming, however, TClass1 and TClass2 must be TComponent. 2014-12-15 0:23 GMT+07:00 Howard Page-Clark h...@talktalk.net: On 14/12/2014 12:23, Kiên Nguyễn Tiến Trung wrote: I am trying to streaming. I spent a lot of time but I didn't find the proper solution. I have two classes, TClass1

[Lazarus] Finding the advantage of TAsyncProcess

2014-12-11 Thread Kiên Nguyễn Tiến Trung
I am using TProcess and I am finding some necessary event handlers such as OnTerminate. That led me to have a look at TAsyncProcess. However, I can't find any document related to TAsyncProcess. I really want to know more about this class, especially events OnReadData. Can I use it instead of

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 h...@talktalk.net: On 09/12/2014 10:41, John Landmesser wrote: no crash on a 32bit Windows XP with For me it sometimes crashes, and