[Lazarus] Threads

2013-08-27 Thread Antonio Fortuny
Hi Folks. I'm facing a problem where threads are involved. I have a test program with a main form and using threads. When I run without threads, a Close button executed the TForm.Close method and the program terminates without problem. But when the threads (one or more) on closing, the

Re: [Lazarus] Threads

2013-08-27 Thread Antonio Fortuny
Sorry, I did forget some information: Win32: Lazarus 1.0.10 Linux: x86_64, Lazarus 1.0.8 The threads are defined in the main form. When the threads are used, the program does not hang, the main form gains control but the program does not terminate. Antonio. --

Re: [Lazarus] SynEdit Development Status

2013-08-27 Thread Martin
On 26/08/2013 23:33, Fabrício Srdic wrote: So, initially, I'm planning to join the existing LazEdit project and help to improve it. This also may be an opportunity for me to contribute to the Lazarus project, learning about the SynEdit and helping to maintain this component that is part of

Re: [Lazarus] Threads

2013-08-27 Thread Michael Schnell
FTimeOut needs to be (a lot) lower than MAX_DELAY. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] SynEdit Development Status

2013-08-27 Thread Michael Schnell
On 08/27/2013 11:21 AM, Martin wrote: And feel free to ask. As we are at this issue a slightly off-topic question: For a rather simple program we use TMemeo as an editor for information that is displayed and stored in an HTML file. So we extract the appropriate text lines from the file,

Re: [Lazarus] Threads

2013-08-27 Thread Antonio Fortuny
Le 27/08/2013 11:22, Michael Schnell a écrit : FTimeOut needs to be (a lot) lower than MAX_DELAY. Timeout runs from 100 to about 400 ms whereas MAX_DELAY. is fixed to 600 ms You should note that all threads send the last message to the Q which means that the Terminate has been trapped.

Re: [Lazarus] SynEdit Development Status

2013-08-27 Thread Martin
On 27/08/2013 10:30, Michael Schnell wrote: For a rather simple program we use TMemeo as an editor for information that is displayed and stored in an HTML file. So we extract the appropriate text lines from the file, have the user edit it in a TMemo and finally re-insert it in the HTML

Re: [Lazarus] SynEdit Development Status

2013-08-27 Thread Bart
On 8/27/13, Fabrício Srdic fabricio.sr...@gmail.com wrote: So, initially, I'm planning to join the existing LazEdit project and help to improve it. That would be great. Bart (original author). -- ___ Lazarus mailing list

Re: [Lazarus] SynEdit Development Status

2013-08-27 Thread Michael Schnell
On 08/27/2013 11:36 AM, Martin wrote: SynEdit keeps lines a they are (unless of course you press enter). Meaning that when editing, automatic line-wrapping in the window is (can be) performed, but the line-wraps are not seen when retrieving the paragraphs (aka lines) ? But it has no word

Re: [Lazarus] VirtualTreeView question, horizontal jump

2013-08-27 Thread Jürgen Hestermann
Am 2013-08-27 00:14, schrieb luiz americo pereira camara: 2013/8/25 Jürgen Hestermann juergen.hesterm...@gmx.de mailto:juergen.hesterm...@gmx.de Am 2013-08-24 04:58, schrieb luiz americo pereira camara: In the mean time try to set hoAutoResize in Header.Options and set

Re: [Lazarus] Memo for touchscreen

2013-08-27 Thread Malcolm Poole
On 26/08/13 20:33, Koenraad Lelong wrote: procedure TForm1.LetterAButtonClick ( Sender: TObject ) ; var testcaretpos: Integer; begin testcaretpos := Memo1.SelStart; Memo1.Text := Copy(Memo1.Text, 1, testcaretpos) + 'A' + Copy(Memo1.Text, testcaretpos+1, MaxInt); Inc(testcaretpos);

[Lazarus] .chm Helpfiles

2013-08-27 Thread HEW LINES
Good morning to all. I'm a long-time Delphi user and new to Lazarus but am really enjoying it. I'm trying to use a .chm helpfile with a program that I'm writing. It works well with Delphi 4 but I can't get it to work with Lazarus. I use Application.Helpfile to identify it and then have tried

Re: [Lazarus] .chm Helpfiles

2013-08-27 Thread Reinier Olislagers
On 27/08/2013 18:58, HEW LINES wrote: Good morning to all. I'm a long-time Delphi user and new to Lazarus but am really enjoying it. I'm trying to use a .chm helpfile with a program that I'm writing. It works well with Delphi 4 but I can't get it to work with Lazarus. I use

Re: [Lazarus] SynEdit Development Status

2013-08-27 Thread Fabrício Srdic
Hi Bart, Are you still in the project? According to the project page on sourceforge, the current project's admin isthe Felipe Monteiro de Carvalho, but i couldn't contact him yet. I have tried via the sourceforge. 2013/8/27 Bart bartjun...@gmail.com On 8/27/13, Fabrício Srdic

[Lazarus] TImage does not load png file

2013-08-27 Thread Edilson Vieira
Hi guys! I did a very simple program to see what happens with colors between TColor and TFPColor. The program has just one main form that shows four panels and a TImage object, generates a png image file containing four rectangles with the 'same' color as the panels and load that file to the

Re: [Lazarus] Res: Re: bug in open package file

2013-08-27 Thread Junior
Lazarus 1.1 r42508M FPC 2.6.2 i386-linux-gtk 2 r42508M See: http://www.meulinux.com.br/lazarus.avi ?? Em 26-08-2013 09:45, Mattias Gaertner escreveu: On Sun, 25 Aug 2013 21:50:26 -0300 Junior lazarus.li...@gmail.com wrote: Lazarus 1.1 r42498M FPC 2.6.2 i386-linux-gtk