Re: OI and Designer fun again :)

2006-12-30 Thread Mattias Gaertner
On Fri, 29 Dec 2006 19:52:37 +0100 Aleš Katona [EMAIL PROTECTED] wrote: Ok. The AV happens on Designer.Modified. The problem is that the propeditor form's fdesigner is nil. What form? Can you send some code? Is it possible to be nil normally? (there might be something which set it so

Re: [lazarus] Project raised exception class 'External: SIGSEGV'

2006-12-30 Thread Mattias Gaertner
On Fri, 29 Dec 2006 20:56:27 + Sam Liddicott [EMAIL PROTECTED] wrote: I think Delphi used csLoading in componentState to void triggering change events while components were being un-streamed. The LCL already uses csLoading to avoid calling OnResize. See TControl.Resize. Maybe the problem

[lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
Hi all, I'm try to write a console application that interfaces with Asterisk PBX. The pbx communicates with the console application over stndin and stdout. The problem that I'm having is that when I send a command using WriteLn, the command doesn't return as it should so I'm wonder if

Re: [lazarus] Console app problems

2006-12-30 Thread ik
On 12/30/06, Lee Jenkins [EMAIL PROTECTED] wrote: Hi all, I'm try to write a console application that interfaces with Asterisk PBX. The pbx communicates with the console application over stndin and stdout. Sorry for the question, but are you on the right library to use AGI ? The problem

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
ik wrote: On 12/30/06, Lee Jenkins [EMAIL PROTECTED] wrote: Hi all, I'm try to write a console application that interfaces with Asterisk PBX. The pbx communicates with the console application over stndin and stdout. Sorry for the question, but are you on the right library to use AGI ?

Re: [lazarus] Console app problems

2006-12-30 Thread ik
On 12/30/06, Lee Jenkins [EMAIL PROTECTED] wrote: ik wrote: On 12/30/06, Lee Jenkins [EMAIL PROTECTED] wrote: Hi all, I'm try to write a console application that interfaces with Asterisk PBX. The pbx communicates with the console application over stndin and stdout. Sorry for the

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
ik wrote: Nop, I meant that does your program is located in the right location to use AGI (I still learn Asterisk, so I'm not sure that my question is correct) :) I'm sure you use the best programming language in the list you gave :D Good News! First, I have fixed it (or worked around) and

Re: OI and Designer fun again :)

2006-12-30 Thread Aleš Katona
This should work in lazarus too. The missing part is, that you can not select other forms/datamodules components. Does this mean that if I got something (let's say A) on the main form, and then I got a behavior (X) in a behavior list which is a property of another thingy(B) on the form, I

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
Lee Jenkins wrote: Hi all, I'm try to write a console application that interfaces with Asterisk PBX. The pbx communicates with the console application over stndin and stdout. Hi all, after trying a number of different ways to get this to work, I have found a way. For some reason, it

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
ik wrote: Good luck, and if you can please share your sources :) Please find attached a simple unit to use for now. I will be finishing the more robust version in a few days (weeks?) as time permits. -- Warm Regards, Lee

Re: [lazarus] Can't type [] {} in code editor under linux

2006-12-30 Thread Marc Weustink
Michael Van Canneyt wrote: On Sat, 30 Dec 2006, Marc Weustink wrote: Michael Van Canneyt wrote: On Fri, 29 Dec 2006, Jesus Reyes wrote: Both thanks for reporting. I've made some keyboard routines more strict. In the old situation a random key could get reported. Did you fix the issue ?

Re: [lazarus] Console app problems

2006-12-30 Thread ik
On 12/30/06, Lee Jenkins [EMAIL PROTECTED] wrote: ik wrote: Good luck, and if you can please share your sources :) Please find attached a simple unit to use for now. I will be finishing the more robust version in a few days (weeks?) as time permits. Cool, a question: repeat; begin

Re: [lazarus] Can't type [] {} in code editor under linux

2006-12-30 Thread Michael Van Canneyt
On Sat, 30 Dec 2006, Marc Weustink wrote: Michael Van Canneyt wrote: On Sat, 30 Dec 2006, Marc Weustink wrote: Michael Van Canneyt wrote: On Fri, 29 Dec 2006, Jesus Reyes wrote: Both thanks for reporting. I've made some keyboard routines more strict. In the old situation a

Re: [lazarus] Can't type [] {} in code editor under linux

2006-12-30 Thread Marc Weustink
Michael Van Canneyt wrote: On Sat, 30 Dec 2006, Marc Weustink wrote: Michael Van Canneyt wrote: On Sat, 30 Dec 2006, Marc Weustink wrote: Michael Van Canneyt wrote: On Fri, 29 Dec 2006, Jesus Reyes wrote: Both thanks for reporting. I've made some keyboard routines more strict. In the

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
ik wrote: repeat; begin ReadLn(sRead); bDone := self.ProcessSingleVar(sRead); end; until (bDone); LOL. Just makes it more readable for me. When I have to come back to some code later on (6 month, 1 year from now) I want to be as easy to sift through as possible. A little extra

[lazarus] Informative question...

2006-12-30 Thread Michael Van Canneyt
Hello, Informative question: Is the Cursor property supposed to work ? I'm trying to implement a browser-like behaviour where the cursor changes to a hand when it hovers over a TLabel, but it doesn't seem to work. Michael. _

Re: [lazarus] Console app problems

2006-12-30 Thread Micha Nelissen
Lee Jenkins wrote: repeat; begin ReadLn(sRead); bDone := self.ProcessSingleVar(sRead); end; until (bDone); LOL. Just makes it more readable for me. When I have to come back to The above is more readable than the following to you ? (Just asking) repeat ReadLn(sRead); bDone :=

Re: [lazarus] Can't type [] {} in code editor under linux

2006-12-30 Thread Michael Van Canneyt
On Sat, 30 Dec 2006, Marc Weustink wrote: Michael Van Canneyt wrote: On Sat, 30 Dec 2006, Marc Weustink wrote: Michael Van Canneyt wrote: On Sat, 30 Dec 2006, Marc Weustink wrote: Michael Van Canneyt wrote: On Fri, 29 Dec 2006, Jesus Reyes wrote: Both thanks for reporting.

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
Micha Nelissen wrote: Lee Jenkins wrote: repeat; begin ReadLn(sRead); bDone := self.ProcessSingleVar(sRead); end; until (bDone); LOL. Just makes it more readable for me. When I have to come back to The above is more readable than the following to you ? (Just asking) repeat

Re: [lazarus] Informative question...

2006-12-30 Thread Darius Blaszijk
Michael, I reported a related bug (??) some time ago (Bug 0007842). Darius - Original Message - From: Michael Van Canneyt [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Saturday, December 30, 2006 7:51 PM Subject: [lazarus] Informative question... Hello, Informative

Re: [lazarus] Console app problems

2006-12-30 Thread Christian Iversen
On Sunday 31 December 2006 00:07, Lee Jenkins wrote: Micha Nelissen wrote: Lee Jenkins wrote: repeat; begin ReadLn(sRead); bDone := self.ProcessSingleVar(sRead); end; until (bDone); LOL. Just makes it more readable for me. When I have to come back to The above is more

Re: [lazarus] Console app problems

2006-12-30 Thread Darius Blaszijk
Hi Lee, I was following this thread with great interest. Is there somewhere a description how communication is defined in pbx? What commands are used and how are they structured? I personally don't know anything about asterisk but I am interested in this way of communicating between two apps.

Re: [lazarus] Informative question...

2006-12-30 Thread Michael Van Canneyt
On Sun, 31 Dec 2006, Darius Blaszijk wrote: Michael, I reported a related bug (??) some time ago (Bug 0007842). Well, I've created a bug report (8040), and referred to your bug report. I'm experiencing this on Linux, GTK1, and yours is on XP, so it's probably something else... Michael.

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
Darius Blaszijk wrote: Hi Lee, I was following this thread with great interest. Is there somewhere a description how communication is defined in pbx? What commands are used and how are they structured? I personally don't know anything about asterisk but I am interested in this way of

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
Christian Iversen wrote: I much prefer for X := 0 to 99 do begin FooStuff(); end; Hmm. That's nice too. I used to Capitalize keywords too, but I've never only capitalized the first keyword in a block - that's pretty obscure to me :) I'm a big camel case kind of guy. I

Re: [lazarus] Can't type [] {} in code editor under linux

2006-12-30 Thread Lord Satan
On Fri, 29 Dec 2006 22:51:48 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: I get the same in revision 10359. I have an azerty keyboard, where the [ ] ' ` ~ @ | # { } ^ € are produced by Alt-gr + some other key. I have the same problems with a qwertz (german) keyboard layout.

[lazarus] Hi and Happy New Year!

2006-12-30 Thread Algis Kabaila
Hi All, I have just joined this mailing list. A few hours ago I downloaded FreePascal with various bits and pieces as well as Lazarus. I am running openSUSE10.2 with KDE. I have encountered a small glitch - KDE responds to a click on the Lazarus icon with KDEInit could not launch

RE: [lazarus] Console app problems

2006-12-30 Thread Pieter Valentijn
I must agree on the use of For I := 0 to 99 do begin end; I work somewhere where most of the guys do this For I := 0 to 99 do begin end; And I keep missing where that begin is :-) If you look at Delpgis code (for instance the classes unit) its all codes using this style For I := 0 to 99