Re: [Lazarus] Reading and Writing to TProcess

2014-04-12 Thread leledumbo
You can do it around here: nread := Hbk.Output.Read(Buffer^, C_BUFSIZE); if nread = 0 then sleep(100) else begin // Translate raw input to a string SStream.size := 0; SStream.Write(Buffer^, nread); // And add the raw stringdata to the memo Memo1.Lines.Text := Memo1.Lines.Te

Re: [Lazarus] Error compiling lazbuild

2014-04-12 Thread Junior
in the IDE. thanks. Em 12-04-2014 19:53, Martin Frb escreveu: On 12/04/2014 23:36, Junior wrote: initialsetupdlgs.pas(47,77) Fatal: Can not find GDBMIDebugger used by InitialSetupDlgs, ppu=../components/lazdebuggergdbmi/lib/i386-linux/gdbmidebugger.ppu, package LazDebuggerGdbmi Lazarus 1.

Re: [Lazarus] Error compiling lazbuild

2014-04-12 Thread Martin Frb
On 12/04/2014 23:36, Junior wrote: initialsetupdlgs.pas(47,77) Fatal: Can not find GDBMIDebugger used by InitialSetupDlgs, ppu=../components/lazdebuggergdbmi/lib/i386-linux/gdbmidebugger.ppu, package LazDebuggerGdbmi Lazarus 1.3 r44709 FPC 2.6.2 i386-linux-gtk 2 Linux Ubuntu 14.04 LTS Tha

[Lazarus] Error compiling lazbuild

2014-04-12 Thread Junior
initialsetupdlgs.pas(47,77) Fatal: Can not find GDBMIDebugger used by InitialSetupDlgs, ppu=../components/lazdebuggergdbmi/lib/i386-linux/gdbmidebugger.ppu, package LazDebuggerGdbmi Lazarus 1.3 r44709 FPC 2.6.2 i386-linux-gtk 2 Linux Ubuntu 14.04 LTS thanks -- _

Re: [Lazarus] How to minimize application showing modal form(s)

2014-04-12 Thread Frank Poretzky
Hi Howard, on Sat, 12 Apr 2014 18:13:08 +0100, you wrote: >On 12/04/2014 17:06, Frank Poretzky wrote: >> Is there a way to modify my modal form to get it minimized as well? > >Create your modal form with the main form as its owner, and give it a >unique Name at creation. >In your main form's dec

[Lazarus] Reading and Writing to TProcess

2014-04-12 Thread Richard Mace
Hi All, I have the following code working well with TProcess outputting to a TMemo, however, what I'd like to do it monitor the output and then when a certain string is detected, I'd like to feed back to the process. That is, if the TProcess outputs a question, I'd like to feed back either a "y" or

Re: [Lazarus] How to minimize application showing modal form(s)

2014-04-12 Thread zeljko
On 04/12/2014 06:06 PM, Frank Poretzky wrote: Hi! In an SDI application I open a modal form with .ShowModal and from there a dialog window with Dialogs.MessageDlg(). Now, when I call Application.Minimize with a TrayIcon.OnClick() event the main form and the message dialog disappear, whereas my

Re: [Lazarus] How to minimize application showing modal form(s)

2014-04-12 Thread Howard Page-Clark
On 12/04/2014 17:06, Frank Poretzky wrote: Is there a way to modify my modal form to get it minimized as well? Create your modal form with the main form as its owner, and give it a unique Name at creation. In your main form's declaration set up two Application handlers, OnMinimize and OnResto

[Lazarus] How to minimize application showing modal form(s)

2014-04-12 Thread Frank Poretzky
Hi! In an SDI application I open a modal form with .ShowModal and from there a dialog window with Dialogs.MessageDlg(). Now, when I call Application.Minimize with a TrayIcon.OnClick() event the main form and the message dialog disappear, whereas my custom modal form in-between remains visible. I

Re: [Lazarus] Scroll Wheel

2014-04-12 Thread Timothy Groves
On 14-04-11 03:21 PM, Howard Page-Clark wrote: On 11/04/2014 19:33, Timothy Groves wrote: No; I am unsure as to how to do that. Would I need to create a descendant class, or does Lazarus support overriding without doing so? The following should give you an idea how to develop the hint Mattias