Re: [Lazarus] Does Lazarus have sizer or layout objects?

2009-01-10 Thread Graeme Geldenhuys
On Wed, Jan 7, 2009 at 5:09 PM, David W Noon david.w.n...@ntlworld.com wrote: So, as the subject line says, does Lazarus have such classes? No, but it has anchoring, alignment etc... I am working on such a layout manager class though. I am porting the MiG Layout from Java to Free Pascal. It's

Re: [Lazarus] My ADVICE!!!: Are you having problems installing Qdebian(Linux) packages.

2009-01-10 Thread Lord Satan
On Sat, 10 Jan 2009 12:40:15 +1100 Peter Williams pew...@gmail.com wrote: Please do not regard my emails as spam. I was simply attempting to explain my situation and what my computer does and how I have found out about how my pc works. OMFG. How can a single person be so dense? In Germany we

Re: [Lazarus] My ADVICE!!!: Are you having problems installing Qdebian(Linux) packages.

2009-01-10 Thread Peter Williams
To the Lazarus email list Good morning, Lord Satan, Fond Regards, Peter Eric (aka 'pew') WILLIAMS from Hobart, Tasmania, Australia -- phone (03) 6236-9675 My free website is: http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs (please visit my free website and let me know what you

[Lazarus] Dispatching GUI messages from background threads

2009-01-10 Thread David W Noon
Hi, I have declared a couple of procedures with the message attribute in a form class, descended from TForm, like so: procedure Log_message(var msg: UserMsg); Message LM_USER; procedure Thread_complete(var msg: UserMsg); Message LM_USER+1; The structure UserMsg has a Cardinal in the

Re: [Lazarus] Does Lazarus have sizer or layout objects?

2009-01-10 Thread David W Noon
On Sat, 2009-01-10 at 10:01 +0200, Graeme Geldenhuys wrote: On Wed, Jan 7, 2009 at 5:09 PM, David W Noon david.w.n...@ntlworld.com wrote: So, as the subject line says, does Lazarus have such classes? No, but it has anchoring, alignment etc... This has proven to be completely adequate

Re: [Lazarus] Does Lazarus have sizer or layout objects?

2009-01-10 Thread Lord Satan
On Sat, 10 Jan 2009 19:49:43 + David W Noon david.w.n...@ntlworld.com wrote: If it's only half as good a Qt's layout classes it will be very good indeed. Did you ever do a 'more complex' GUI with Qt? I am working with Qt in my job and I would gladly trade Qt's layouts for Lazarus'

Re: [Lazarus] Does Lazarus have sizer or layout objects?

2009-01-10 Thread David W Noon
On Sat, 2009-01-10 at 22:05 +0100, Lord Satan wrote: On Sat, 10 Jan 2009 19:49:43 + David W Noon david.w.n...@ntlworld.com wrote: If it's only half as good a Qt's layout classes it will be very good indeed. Did you ever do a 'more complex' GUI with Qt? I am working with Qt in my job

Re: [Lazarus] Does Lazarus have sizer or layout objects?

2009-01-10 Thread Lord Satan
On Sat, 10 Jan 2009 22:05:43 +0100 Lord Satan reimg...@web.de wrote: Did you ever do a 'more complex' GUI with Qt? I am working with Qt in my job and I would gladly trade Qt's layouts for Lazarus' anchoring and friends? Of course, the question mark must be a period. As I have no doubt about

[Lazarus] fblib installation

2009-01-10 Thread Paul Parkyn
Hello, I have been trying to install Fblib components. The compile fails with Compile IDE (without linking) completed /usr/bin/ld: cannot find -lfbclient /usr/lib/lazarus/ide/lazarus.pp(114,1) Error: Error while linking /usr/lib/lazarus/ide/lazarus.pp(114,1) Fatal: There were 1 errors compiling

Re: [Lazarus] fblib installation

2009-01-10 Thread Henry Vermaak
On 11/01/2009, Paul Parkyn zl3...@paradise.net.nz wrote: Hello, I have been trying to install Fblib components. The compile fails with Compile IDE (without linking) completed /usr/bin/ld: cannot find -lfbclient /usr/lib/lazarus/ide/lazarus.pp(114,1) Error: Error while linking

Re: [Lazarus] Dispatching GUI messages from background threads

2009-01-10 Thread Hans-Peter Diettrich
David W Noon schrieb: This looks rather like some sort of deadlock on something like a mutex semaphore -- but that's just a guess. Is there some knack to calling Dispatch() that avoids this problem? The solution is simple: don't use Dispatch() from a thread, use the thread-safe SendMessage

Re: [Lazarus] Dispatching GUI messages from background threads

2009-01-10 Thread David W Noon
On Sun, 2009-01-11 at 01:17 +0100, Hans-Peter Diettrich wrote: David W Noon schrieb: This looks rather like some sort of deadlock on something like a mutex semaphore -- but that's just a guess. Is there some knack to calling Dispatch() that avoids this problem? The solution is simple:

Re: [Lazarus] Dispatching GUI messages from background threads

2009-01-10 Thread Paul Ishenin
David W Noon wrote: The only function like that I could find was SimpleSendMessage(), which produced the same result as Dispatch() and DeliverMessage(), but without supplying any message data. In which unit is SendMessage() defined? add LCLIntf unit to your uses section and you'll get

Re: [Lazarus] OSX: Handles and WindowRefs

2009-01-10 Thread Andrew Haines
Duncan Parsons wrote: Hi, I seem to have run into a problem with what is essentially nomenclature.. Since LCL has used Delphi as its template, there's a lot of Windows based conventions, but that doesn't totally map to other systems. For instance, TForm.Handle in windows repesents the tag

Re: [Lazarus] fblib installation

2009-01-10 Thread Paul Parkyn
Henry Vermaak wrote: On 11/01/2009, Paul Parkyn zl3...@paradise.net.nz wrote: Hello, I have been trying to install Fblib components. The compile fails with Compile IDE (without linking) completed /usr/bin/ld: cannot find -lfbclient /usr/lib/lazarus/ide/lazarus.pp(114,1) Error: Error

Re: [Lazarus] OSX: Handles and WindowRefs

2009-01-10 Thread dmitry boyarintsev
Duncan, what Lazarus version are you using? In earlier versions of Carbon widget set, WindowRef could be acquired in the style Andrew has described. var AWindow: WindowRef; .. begin ... AWindow := WindowRef(TCarbonWidget(Form1.Handle).Widget); ... end; it was recently changed, so Widget

Re: [Lazarus] Does Lazarus have sizer or layout objects?

2009-01-10 Thread Felipe Monteiro de Carvalho
My suggestion would be to create a layout class yourself. It should be easy. If it is good enougth it may be added to Lazarus later. -- Felipe Monteiro de Carvalho ___ Lazarus mailing list Lazarus@lazarus.freepascal.org