Re: [Lazarus] What are "widgets" in lazarus?

2011-01-12 Thread Graeme Geldenhuys
Op 2011-01-09 20:24, Hans-Peter Diettrich het geskryf: > Where do you see problems? > The determination of a closer target (e.g. control) is up to the > application or library, that manages the layout of a window. Every > application or library can freely define their own "handles" for every

Re: [Lazarus] How to use TPrintDialog

2011-01-12 Thread Maxim Ganetsky
12.01.2011 18:09, tim launchbury пишет: Hello all I am trying to implement printing in my app and want to use the printdialog included with lazarus. I have dropped the print dialog on the form and set it to appear when a button is clicked. When the printdialog.execute function is executed an ex

Re: [Lazarus] fpGUI

2011-01-12 Thread Graeme Geldenhuys
On Wed, 2011-01-12 at 17:26 +, Mark Morgan Lloyd wrote: > Reverting to Linux and trying to build with fpGUI from inside the LCL, I > get stuck at > > fpguiint.pp(42,12) Fatal: Can't find unit fpg_main used by fpguiint > > Symlinks (3x) appear OK- have I missed something obvious like a prebui

Re: [Lazarus] fpGUI

2011-01-12 Thread Mark Morgan Lloyd
Henry Vermaak wrote: On 12 January 2011 15:13, Michael Schnell wrote: On 01/12/2011 03:47 PM, Michael Schnell wrote: On 01/12/2011 12:46 PM, Henry Vermaak wrote: I believe postmessage works in gtk2 now. I did a test and it does not seem o work for me, while Application.QueueAsyncCall(), tha

Re: [Lazarus] fpGUI

2011-01-12 Thread Henry Vermaak
On 12 January 2011 15:13, Michael Schnell wrote: > On 01/12/2011 03:47 PM, Michael Schnell wrote: >> >> On 01/12/2011 12:46 PM, Henry Vermaak wrote: >>> >>> I believe postmessage works in gtk2 now. >>> >> I did a test and it does not seem o work for me, while >> Application.QueueAsyncCall(), that

Re: [Lazarus] fpGUI

2011-01-12 Thread Mark Morgan Lloyd
Henry Vermaak wrote: On 12 January 2011 19:40, Mark Morgan Lloyd wrote: Henry Vermaak wrote: Graeme (or anybody): is it possible to build Lazarus+fpGUI completely from source, i.e. without having a working Lazarus as described at http://wiki.lazarus.freepascal.org/fpGUI_Interface You won't b

Re: [Lazarus] fpGUI

2011-01-12 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On Wed, 2011-01-12 at 19:40 +, Mark Morgan Lloyd wrote: So if I did that and also make lazbuild I might possibly get somewhere on Solaris 10 despite missing libraries which appear to preclude building the IDE. On a side note: I have never tested "pure" fpGUI on

Re: [Lazarus] Are there some preprocessor values that can be set in the IDE for debugging, ie DEBUG et al?

2011-01-12 Thread Andreas Schneider
On 12.01.2011, 20:23 Frank Church wrote: > Is there a preprocessor value that can be set in the IDE for debugging? > eg. > ifdef XX > showmessage('y') > endif, > I am interested in options that can be ticked in the IDE dialogs rather than > typed. I think Build Modes in the curren

Re: [Lazarus] fpGUI

2011-01-12 Thread Graeme Geldenhuys
On Wed, 2011-01-12 at 19:40 +, Mark Morgan Lloyd wrote: > So if I did that and also make lazbuild I might possibly get somewhere > on Solaris 10 despite missing libraries which appear to preclude > building the IDE. On a side note: I have never tested "pure" fpGUI on a Solaris system. If S

Re: [Lazarus] fpGUI

2011-01-12 Thread Henry Vermaak
On 12 January 2011 19:40, Mark Morgan Lloyd wrote: > Henry Vermaak wrote: > >>> Graeme (or anybody): is it possible to build Lazarus+fpGUI completely >>> from source, i.e. without having a working Lazarus as described at >>> http://wiki.lazarus.freepascal.org/fpGUI_Interface >> >> You won't be abl

Re: [Lazarus] fpGUI

2011-01-12 Thread Mark Morgan Lloyd
Henry Vermaak wrote: Graeme (or anybody): is it possible to build Lazarus+fpGUI completely from source, i.e. without having a working Lazarus as described at http://wiki.lazarus.freepascal.org/fpGUI_Interface You won't be able to compile lazarus itself using fpgui, but you can certainly compi

Re: [Lazarus] fpGUI

2011-01-12 Thread Graeme Geldenhuys
On Wed, 2011-01-12 at 15:41 +, Mark Morgan Lloyd wrote: > Graeme (or anybody): is it possible to build Lazarus+fpGUI completely > from source, No, you can't build Lazarus IDE with LCL-fpGUI yet. As Michael said, there are still way to many unimplemented functions or components in LCL-fpGUI. H

[Lazarus] Are there some preprocessor values that can be set in the IDE for debugging, ie DEBUG et al?

2011-01-12 Thread Frank Church
Is there a preprocessor value that can be set in the IDE for debugging? eg. ifdef XX showmessage('y') endif, I am interested in options that can be ticked in the IDE dialogs rather than typed. -- Frank Church === http://devblog.brahmancreations.com -- ___

Re: [Lazarus] Namespace

2011-01-12 Thread Marcos Douglas
On Wed, Jan 12, 2011 at 3:53 PM, Sven Barth wrote: > On 12.01.2011 18:24, Mattias Gaertner wrote: >> >> Marcos Douglas hat am 12. Januar 2011 um 18:05 >> geschrieben: >> >>  > On Wed, Jan 12, 2011 at 1:57 PM, Andreas Schneider >> wrote: >>  > > >>  > > ... which you can already do. The unit orde

Re: [Lazarus] fpGUI

2011-01-12 Thread Sven Barth
On 12.01.2011 19:57, Sven Barth wrote: On 12.01.2011 16:18, Michael Schnell wrote: On 01/12/2011 04:04 PM, Henry Vermaak wrote: http://bugs.freepascal.org/view.php?id=13120 Supposedly this introduces the problem with TThread.Synchronize. Would it not be possible / more appropriate to implem

Re: [Lazarus] fpGUI

2011-01-12 Thread Sven Barth
On 12.01.2011 16:18, Michael Schnell wrote: On 01/12/2011 04:04 PM, Henry Vermaak wrote: http://bugs.freepascal.org/view.php?id=13120 Supposedly this introduces the problem with TThread.Synchronize. Would it not be possible / more appropriate to implement PostMessage(), TThread.Synchronize,

Re: [Lazarus] Namespace

2011-01-12 Thread Sven Barth
On 12.01.2011 18:24, Mattias Gaertner wrote: Marcos Douglas hat am 12. Januar 2011 um 18:05 geschrieben: > On Wed, Jan 12, 2011 at 1:57 PM, Andreas Schneider wrote: > > > > ... which you can already do. The unit order in the uses clause > > already determines which identifier is chosen whe

Re: [Lazarus] Namespace

2011-01-12 Thread Marcos Douglas
On Wed, Jan 12, 2011 at 3:26 PM, Mattias Gaertner wrote: > On Wed, 12 Jan 2011 15:00:51 -0300 > Marcos Douglas wrote: > >> 2011/1/12 Mattias Gaertner : >> >> But I can register a component called TButton? >> > >> > No, that would conflict with the LCL TButton. See the FCL function >> > FindClass.

Re: [Lazarus] fpGUIx

2011-01-12 Thread Paul Breneman
Michael Schnell wrote: On 01/12/2011 05:04 PM, Michael Van Canneyt wrote: Looks like I will be dead and burnt before that happens. (in which case I will care little one way or the other - luckily) I did many days of research on that issue once when we (company) really intended to use FPC/Laza

Re: [Lazarus] Namespace

2011-01-12 Thread Mattias Gaertner
On Wed, 12 Jan 2011 15:00:51 -0300 Marcos Douglas wrote: > 2011/1/12 Mattias Gaertner : > >> But I can register a component called TButton? > > > > No, that would conflict with the LCL TButton. See the FCL function > > FindClass. > > I know. > > >> Because that I proposed the Lazarus put the un

Re: [Lazarus] Namespace

2011-01-12 Thread Marcos Douglas
2011/1/12 Mattias Gaertner : >> But I can register a component called TButton? > > No, that would conflict with the LCL TButton. See the FCL function > FindClass. I know. >> Because that I proposed the Lazarus put the unit name in the code, >> automatic... > Just use the right unit order. What i

Re: [Lazarus] Forum under attack

2011-01-12 Thread Mark Morgan Lloyd
Hans-Peter Diettrich wrote: a:= d(c, c) end; What does a(2, 3) return? Then we'll have to implement many variations of such a template, otherwise the bots can handle single cases easily. Very true, but by the time the template has been expanded with different variable/function names and

Re: [Lazarus] fpGUI

2011-01-12 Thread Mark Morgan Lloyd
michael.vancann...@wisa.be wrote: On Wed, 12 Jan 2011, Mark Morgan Lloyd wrote: Graeme Geldenhuys wrote: Op 2011-01-12 14:15, Michael Schnell het geskryf: I see. So I need to find the docs how to do a "pure" fpGUI project. Take a look at any of the demos in the 'examples' directory. They ar

Re: [Lazarus] Namespace

2011-01-12 Thread Mattias Gaertner
    Marcos Douglas hat am 12. Januar 2011 um 18:05 geschrieben: > On Wed, Jan 12, 2011 at 1:57 PM, Andreas Schneider wrote: > > > > ...  which  you  can  already  do.  The  unit order in the uses clause > > already  determines  which  identifier  is  chosen  when  you do *not* > > specify  a  u

Re: [Lazarus] Namespace

2011-01-12 Thread Jürgen Hestermann
Marcos Douglas schrieb: And if we can "rename", in the code, the names of the units then it would be perfect, IMHO. Like this: uses CompanyXYZ_StdCtrls as xyzctrls; That looks a bit like Modula to me. I do not know Modula. This is good, in Modula?! http://en.wikipedia.org/

Re: [Lazarus] Namespace

2011-01-12 Thread Hans-Peter Diettrich
Sven Barth schrieb: When namespaces correspond to unit names, i.e. disk files, a disambiguation is always possible by adding the parent directory to the unit name. This is not implemented, because there never existed an urgent need for such an extension, but it would always end up in unique refe

Re: [Lazarus] Forum under attack

2011-01-12 Thread Hans-Peter Diettrich
Mark Morgan Lloyd schrieb: Felipe Monteiro de Carvalho wrote: On Tue, Jan 11, 2011 at 10:26 PM, Mark Morgan Lloyd wrote: How about a Capcha that was a coding problem? Some users do not speak english very well, so they may not understand the problem that we are trying to express. But they s

Re: [Lazarus] Namespace

2011-01-12 Thread Marcos Douglas
On Wed, Jan 12, 2011 at 1:59 PM, Jürgen Hestermann wrote: > > > Marcos Douglas schrieb: >> >> And if we can "rename", in the code, the names of the units then it >> would be perfect, IMHO. >> Like this: >> uses >>  CompanyXYZ_StdCtrls as xyzctrls; >> >> > > That looks a bit like Modula to me. I d

Re: [Lazarus] Namespace

2011-01-12 Thread Marcos Douglas
On Wed, Jan 12, 2011 at 1:57 PM, Andreas Schneider wrote: > > ...  which  you  can  already  do.  The  unit order in the uses clause > already  determines  which  identifier  is  chosen  when  you do *not* > specify  a  unit  explicitly.  So just make sure that LCL's TButton is > always  the  defa

Re: [Lazarus] fpGUI

2011-01-12 Thread José Mejuto
Hello Lazarus-List, Wednesday, January 12, 2011, 4:49:35 PM, you wrote: >> Graeme (or anybody): is it possible to build Lazarus+fpGUI completely from >> source, i.e. without having a working Lazarus as described at >> http://wiki.lazarus.freepascal.org/fpGUI_Interface mvwb> I don't think so: LCL

Re: [Lazarus] Namespace

2011-01-12 Thread Jürgen Hestermann
Marcos Douglas schrieb: And if we can "rename", in the code, the names of the units then it would be perfect, IMHO. Like this: uses CompanyXYZ_StdCtrls as xyzctrls; That looks a bit like Modula to me. -- ___ Lazarus mailing list Lazarus@lists.

Re: [Lazarus] Namespace

2011-01-12 Thread Andreas Schneider
On 12.01.2011, 17:48 Marcos Douglas wrote: > On Wed, Jan 12, 2011 at 1:18 PM, Alexander Klenin wrote: >> On Wed, Jan 12, 2011 at 21:09, Marcos Douglas wrote: >>> On Tue, Jan 11, 2011 at 6:03 PM, Hans-Peter Diettrich >>> wrote: Duplicate identifiers are used in the same unit in very rare ca

Re: [Lazarus] fpGUI

2011-01-12 Thread Henry Vermaak
On 12/01/11 16:36, Michael Schnell wrote: On 01/12/2011 05:14 PM, Henry Vermaak wrote: I just tested again here, and using postmessage with gtk2 from an external thread (from a library) works perfectly. As taken from some example code, I just created a user thread with TMyThread.create(). It d

Re: [Lazarus] Namespace

2011-01-12 Thread Marcos Douglas
On Wed, Jan 12, 2011 at 1:18 PM, Alexander Klenin wrote: > On Wed, Jan 12, 2011 at 21:09, Marcos Douglas wrote: >> On Tue, Jan 11, 2011 at 6:03 PM, Hans-Peter Diettrich >> wrote: >>> Duplicate identifiers are used in the same unit in very rare cases only, so >>> that normally a qualification is

Re: [Lazarus] fpGUIx

2011-01-12 Thread michael . vancanneyt
On Wed, 12 Jan 2011, Michael Schnell wrote: On 01/12/2011 05:04 PM, Michael Van Canneyt wrote: Looks like I will be dead and burnt before that happens. (in which case I will care little one way or the other - luckily) I did many days of research on that issue once when we (company) really

Re: [Lazarus] fpGUI

2011-01-12 Thread Michael Schnell
On 01/12/2011 05:14 PM, Henry Vermaak wrote: Have you built your project with -dusecthreads? I found ho to set this in the Lazarus IDE (and verified that this does work), But no call to the message handler nonetheless. -Michael -- ___ Lazarus maili

Re: [Lazarus] fpGUI

2011-01-12 Thread Michael Schnell
On 01/12/2011 05:14 PM, Henry Vermaak wrote: I just tested again here, and using postmessage with gtk2 from an external thread (from a library) works perfectly. As taken from some example code, I just created a user thread with TMyThread.create(). It does run and does while not Terminated

Re: [Lazarus] fpGUIx

2011-01-12 Thread Henry Vermaak
On 12/01/11 15:48, michael.vancann...@wisa.be wrote: On Wed, 12 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-12 17:13, Michael Schnell het geskryf: TThread.Synchronize seems to work fine with fpGUI, but with gtk2 I only see events when I (e.g.) move the move around on Form. @Michael van

Re: [Lazarus] fpGUIx

2011-01-12 Thread Michael Schnell
On 01/12/2011 05:04 PM, Michael Van Canneyt wrote: Looks like I will be dead and burnt before that happens. (in which case I will care little one way or the other - luckily) I did many days of research on that issue once when we (company) really intended to use FPC/Lazarus in an embedded desig

Re: [Lazarus] Namespace

2011-01-12 Thread Alexander Klenin
On Wed, Jan 12, 2011 at 21:09, Marcos Douglas wrote: > On Tue, Jan 11, 2011 at 6:03 PM, Hans-Peter Diettrich > wrote: >> Duplicate identifiers are used in the same unit in very rare cases only, so >> that normally a qualification is not necessary at all. > > Rare cases because I can't use the ide

Re: [Lazarus] fpGUI

2011-01-12 Thread Henry Vermaak
On 12/01/11 14:47, Michael Schnell wrote: On 01/12/2011 12:46 PM, Henry Vermaak wrote: I believe postmessage works in gtk2 now. I did a test and it does not seem o work for me, while Application.QueueAsyncCall(), that essentially is an enhancement of same, does work fine I just tested again

Re: [Lazarus] Error: unit not found: Classes

2011-01-12 Thread Kjow
2011/1/12 Kjow : > Oops, I'm on Windows 7 and yes, sources are present and relative path > setted on Lazarus. > > I upgrade everyday, with a script, fpc + lazarus svn that rebuilds all > automatically; yesterday there weren't problems... I can't understand > if it isn't a lazarus/fpc issue > > Rega

Re: [Lazarus] fpGUIx

2011-01-12 Thread Michael Van Canneyt
On Wed, 12 Jan 2011, Michael Schnell wrote: On 01/12/2011 04:48 PM, michael.vancann...@wisa.be wrote: Seems like TThread.Synchronize should wake up the GTK main loop. Hmm. So why does TApplication.QueueAsyncCallwork nicely ? IMHO it should use the same interface to the underlying Event Que

Re: [Lazarus] fpGUIx

2011-01-12 Thread Michael Schnell
On 01/12/2011 04:48 PM, michael.vancann...@wisa.be wrote: Seems like TThread.Synchronize should wake up the GTK main loop. Hmm. So why does TApplication.QueueAsyncCallwork nicely ? IMHO it should use the same interface to the underlying Event Queue implementation (and thus this code should be

Re: [Lazarus] fpGUIx

2011-01-12 Thread Henry Vermaak
On 12/01/11 15:48, michael.vancann...@wisa.be wrote: On Wed, 12 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-12 17:13, Michael Schnell het geskryf: TThread.Synchronize seems to work fine with fpGUI, but with gtk2 I only see events when I (e.g.) move the move around on Form. @Michael van

Re: [Lazarus] fpGUI

2011-01-12 Thread Henry Vermaak
On 12/01/11 15:41, Mark Morgan Lloyd wrote: Graeme Geldenhuys wrote: Op 2011-01-12 14:15, Michael Schnell het geskryf: I see. So I need to find the docs how to do a "pure" fpGUI project. Take a look at any of the demos in the 'examples' directory. They are kept small and simple for a reason.

Re: [Lazarus] fpGUI

2011-01-12 Thread michael . vancanneyt
On Wed, 12 Jan 2011, Mark Morgan Lloyd wrote: Graeme Geldenhuys wrote: Op 2011-01-12 14:15, Michael Schnell het geskryf: I see. So I need to find the docs how to do a "pure" fpGUI project. Take a look at any of the demos in the 'examples' directory. They are kept small and simple for a rea

Re: [Lazarus] fpGUIx

2011-01-12 Thread michael . vancanneyt
On Wed, 12 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-12 17:13, Michael Schnell het geskryf: TThread.Synchronize seems to work fine with fpGUI, but with gtk2 I only see events when I (e.g.) move the move around on Form. @Michael van Canneyt Now I don't feel so bad. ;-) Yes, I though

Re: [Lazarus] fpGUI

2011-01-12 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: Op 2011-01-12 14:15, Michael Schnell het geskryf: I see. So I need to find the docs how to do a "pure" fpGUI project. Take a look at any of the demos in the 'examples' directory. They are kept small and simple for a reason. You can also read Michael article/review rega

Re: [Lazarus] fpGUI

2011-01-12 Thread Michael Schnell
On 01/12/2011 04:23 PM, José Mejuto wrote: Check my comments in: http://bugs.freepascal.org/view.php?id=18191 I did see it. and I feel that it really is time to redesign the thread communication infrastructure (PostMessage, TThreadSynchronize, TThread.Queue) in a (more) Widgetset independent wa

Re: [Lazarus] fpGUI

2011-01-12 Thread José Mejuto
Hello Lazarus-List, Wednesday, January 12, 2011, 4:13:16 PM, you wrote: MS> More funny stuff: MS> TThread.Synchronize seems to work fine with fpGUI, but with gtk2 I only MS> see events when I (e.g.) move the move around on Form. Check my comments in: http://bugs.freepascal.org/view.php?id=18191

Re: [Lazarus] fpGUI

2011-01-12 Thread Graeme Geldenhuys
Op 2011-01-12 17:13, Michael Schnell het geskryf: > > TThread.Synchronize seems to work fine with fpGUI, but with gtk2 I only > see events when I (e.g.) move the move around on Form. @Michael van Canneyt Now I don't feel so bad. ;-) [Michael and Luk will understand this email] Regards, - G

Re: [Lazarus] fpGUI

2011-01-12 Thread Michael Schnell
On 01/12/2011 04:04 PM, Henry Vermaak wrote: http://bugs.freepascal.org/view.php?id=13120 Supposedly this introduces the problem with TThread.Synchronize. Would it not be possible / more appropriate to implement PostMessage(), TThread.Synchronize, and TThread.Queue (which is not yet implemen

Re: [Lazarus] fpGUI

2011-01-12 Thread Michael Schnell
On 01/12/2011 03:47 PM, Michael Schnell wrote: On 01/12/2011 12:46 PM, Henry Vermaak wrote: I believe postmessage works in gtk2 now. I did a test and it does not seem o work for me, while Application.QueueAsyncCall(), that essentially is an enhancement of same, does work fine More funny s

[Lazarus] How to use TPrintDialog

2011-01-12 Thread tim launchbury
Hello all I am trying to implement printing in my app and want to use the printdialog included with lazarus. I have dropped the print dialog on the form and set it to appear when a button is clicked. When the printdialog.execute function is executed an exception is generated. The exception is "P

Re: [Lazarus] fpGUI

2011-01-12 Thread Henry Vermaak
On 12/01/11 14:47, Michael Schnell wrote: On 01/12/2011 12:46 PM, Henry Vermaak wrote: I believe postmessage works in gtk2 now. I did a test and it does not seem o work for me, while Application.QueueAsyncCall(), that essentially is an enhancement of same, does work fine Well, posting an LM

Re: [Lazarus] fpGUI

2011-01-12 Thread Michael Schnell
On 01/12/2011 03:47 PM, Michael Schnell wrote: On 01/12/2011 12:46 PM, Henry Vermaak wrote: I believe postmessage works in gtk2 now. I did a test and it does not seem o work for me, while Application.QueueAsyncCall(), that essentially is an enhancement of same, does work fine In fact with

Re: [Lazarus] Error: unit not found: Classes

2011-01-12 Thread Kjow
2011/1/12 Mattias Gaertner : > What OS? > > How did you install Lazarus and FPC? > > Have you installed the FPC sources? > > > > Mattias Oops, I'm on Windows 7 and yes, sources are present and relative path setted on Lazarus. I upgrade everyday, with a script, fpc + lazarus svn that rebuilds all

Re: [Lazarus] fpGUI

2011-01-12 Thread Michael Schnell
On 01/12/2011 12:46 PM, Henry Vermaak wrote: I believe postmessage works in gtk2 now. I did a test and it does not seem o work for me, while Application.QueueAsyncCall(), that essentially is an enhancement of same, does work fine -Michael -- ___

Re: [Lazarus] Error: unit not found: Classes

2011-01-12 Thread Mattias Gaertner
    Kjow hat am 12. Januar 2011 um 14:50 geschrieben: > Lazarus: r28973M > FPC 2.4.2: r16754 > > Double clicking on any component (Form, Button, etc) to create the > relative event or pressing ctrl+space on the source editor, causes > this error: > > -

[Lazarus] Error: unit not found: Classes

2011-01-12 Thread Kjow
Lazarus: r28973M FPC 2.4.2: r16754 Double clicking on any component (Form, Button, etc) to create the relative event or pressing ctrl+space on the source editor, causes this error: - C:\Develop\lazarus\lcl\lclclasses.pp(32,10) Error: unit not found: Cla

Re: [Lazarus] fpGUI

2011-01-12 Thread Michael Schnell
On 01/12/2011 01:54 PM, Graeme Geldenhuys wrote: After all, fpGUI already has a Object Pascal based event queue and allows PostMessage and SendMessage, and fpGUI widgets understand the object pascal construct of 'somemethodmessage;' That is the main reason why I am that interested in fpGUI. I

Re: [Lazarus] fpGUI

2011-01-12 Thread Graeme Geldenhuys
Op 2011-01-12 14:57, Michael Schnell het geskryf: > Access to "Homeip" - of course - is disabled by out firewall (i.e. > proxy) as it can be abused to work for home from the office :) Don't you just hate proxies! :) I'll send you the article in private. . you have mail! Regards, - Graeme

Re: [Lazarus] fpGUI

2011-01-12 Thread Michael Schnell
On 01/12/2011 01:54 PM, Graeme Geldenhuys wrote: kept small and simple for a reason. You can also read Michael article/review regarding fpGUI at the following URL: http://opensoft.homeip.net:8080/articles/ Access to "Homeip" - of course - is disabled by out firewall (i.e. proxy) as it can b

Re: [Lazarus] fpGUI

2011-01-12 Thread Graeme Geldenhuys
Op 2011-01-12 14:15, Michael Schnell het geskryf: > I see. So I need to find the docs how to do a "pure" fpGUI project. Take a look at any of the demos in the 'examples' directory. They are kept small and simple for a reason. You can also read Michael article/review regarding fpGUI at the followin

Re: [Lazarus] fpGUI

2011-01-12 Thread Graeme Geldenhuys
Op 2011-01-12 13:18, Michael Schnell het geskryf: > TThread.synchronize (that is said to drop events when system load is high), I don't know the LCL internals, but I would expect that to be a FPC issue and not a GUI toolkit issue. > SendMessage -> Procedure ..Message (AFAIK, not working in the c

Re: [Lazarus] fpGUI

2011-01-12 Thread Graeme Geldenhuys
Op 2011-01-12 12:59, Andreas Schneider het geskryf: > all. Everything that wants to get outside has to go through a HTTP > proxy. That automatically gets rid of most custom protocols like git. Ah yes, I forgot about the proxy access. That will indeed block all other protocols. In our company a

Re: [Lazarus] fpGUI

2011-01-12 Thread Michael Schnell
On 01/12/2011 12:46 PM, Henry Vermaak wrote: What you are using now is the fpgui lcl interface. This is why the lazarus form designer works. This interface is not complete, so less things will work than using the fpgui designer. I see. So I need to find the docs how to do a "pure" fpGUI pro

Re: [Lazarus] Forum under attack

2011-01-12 Thread Felipe Monteiro de Carvalho
On Wed, Jan 12, 2011 at 10:27 AM, Mark Morgan Lloyd wrote: > But they speak Pascal, otherwise why are they trying to register? What if they want to learn Pascal? -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepas

Re: [Lazarus] fpGUI

2011-01-12 Thread Henry Vermaak
On 12/01/11 11:18, Michael Schnell wrote: On 01/12/2011 11:36 AM, Michael Schnell wrote: Now lets see what I can do with this. Works like charm ! Just changing the Project's Widget Type from gtk2 to fpGUI toggles the Widget set and both create working application with just a slightly differe

Re: [Lazarus] fpGUI

2011-01-12 Thread José Mejuto
Hello Lazarus-List, Wednesday, January 12, 2011, 12:18:41 PM, you wrote: MS> Thus the Lazarus Form designer does work for fpGUI including visually MS> creating TTimer instances. It works for LCLfpGUI, not for fpGUI ;) MS> GREAT ! MS> So what do I need the external dedicated / additional fpGUI d

Re: [Lazarus] Forum under attack

2011-01-12 Thread Mark Morgan Lloyd
Howard Page-Clark wrote: What does a(2, 3) return? Mark I think you can do better than that! Assuming you meant to write function d(c, b: integer): integer; etc. it is still a nonsense, a function that tries to alter non-var parameters and has an undefined result. It's OK to give newcome

Re: [Lazarus] Status of GDB and Lazarus/FPC debugging threaded apps

2011-01-12 Thread Jonathan
On Mon, 10 Jan 2011 08:41:50 -0600 Andrew Brunner wrote: > Debugging under Linux (Ubuntu) is the largest development pain, and > has persisted since I started cross platform development with > FPC/Lazarus. I was wondering what if anything could be done to get a > bug report together and submit s

Re: [Lazarus] fpGUI

2011-01-12 Thread Michael Schnell
On 01/12/2011 11:36 AM, Michael Schnell wrote: Now lets see what I can do with this. Works like charm ! Just changing the Project's Widget Type from gtk2 to fpGUI toggles the Widget set and both create working application with just a slightly different look. Thus the Lazarus Form designer

Re: [Lazarus] Installation of man-files

2011-01-12 Thread Mattias Gaertner
    Joost van der Sluis hat am 12. Januar 2011 um 11:49 geschrieben: > Hi all, > > Currently 'make install' does only install the man-files of the binaries > which are placed in the search-path. (lazarus-ide, rpmbuild and > startlazarus) > > Do we want to install the other man-files by default t

Re: [Lazarus] Installation of man-files

2011-01-12 Thread Vincent Snijders
2011/1/12 Joost van der Sluis : > Hi all, > > Currently 'make install' does only install the man-files of the binaries > which are placed in the search-path. (lazarus-ide, rpmbuild and > startlazarus) > > Do we want to install the other man-files by default too? (lazres, > lrstolfm,updatepofiles,sv

Re: [Lazarus] Namespace

2011-01-12 Thread Marcos Douglas
On Tue, Jan 11, 2011 at 6:03 PM, Hans-Peter Diettrich wrote: > Duplicate identifiers are used in the same unit in very rare cases only, so > that normally a qualification is not necessary at all. Rare cases because I can't use the identifiers TEdit, TButton, etc. Then we always will have to inven

Re: [Lazarus] fpGUI

2011-01-12 Thread Andreas Schneider
On 11.01.2011, 15:23 Graeme Geldenhuys wrote: > Op 2011-01-11 15:09, Michael Schnell het geskryf: >> >> The git protocol is forbidden by the firewall, the server does not seem >> to support http: > That is strange. Most firewalls track the initial outgoing packets of > traffic, and allow return

[Lazarus] Installation of man-files

2011-01-12 Thread Joost van der Sluis
Hi all, Currently 'make install' does only install the man-files of the binaries which are placed in the search-path. (lazarus-ide, rpmbuild and startlazarus) Do we want to install the other man-files by default too? (lazres, lrstolfm,updatepofiles,svn2revisioninc) Joost. -- __

[Lazarus] RES: RES: mysql connection problem

2011-01-12 Thread Fabio Souza
Try using version 0.9.29 (Actual SVN 0.9.31). It already contains components to MySQL 5.0 and 5.1. Fabio Souza -Mensagem original- De: ziad dudin [mailto:z...@dudin.org] Enviada em: terça-feira, 11 de janeiro de 2011 15:25 Para: Lazarus mailing list Assunto: Re: [Lazarus] RES: mysql con

Re: [Lazarus] fpGUI

2011-01-12 Thread Michael Schnell
On 01/11/2011 03:23 PM, Graeme Geldenhuys wrote: That is strange. Most firewalls track the initial outgoing packets of traffic, and allow return packets back in without problems. Maybe not all firewalls are made equal. :-/ And no, SourceForge has very limited support for Git - rather annoying.

Re: [Lazarus] Can't find unit contnrs used by Masks

2011-01-12 Thread Michael Schnell
On 01/11/2011 03:18 PM, Mattias Gaertner wrote: Because this thread is called 'Can't find unit contnrs used by Masks', I will answer to this: The IDE now warns if fpc has no config file and can not find any ppu files. I did replace the seemingly corrupted fpc.cfg in /etc by some old one I foun

Re: [Lazarus] Forum under attack

2011-01-12 Thread Howard Page-Clark
On 12/1/11 9:27, Mark Morgan Lloyd wrote: Felipe Monteiro de Carvalho wrote: On Tue, Jan 11, 2011 at 10:26 PM, Mark Morgan Lloyd wrote: How about a Capcha that was a coding problem? Some users do not speak english very well, so they may not understand the problem that we are trying to expres

Re: [Lazarus] Forum under attack

2011-01-12 Thread Mark Morgan Lloyd
Felipe Monteiro de Carvalho wrote: On Tue, Jan 11, 2011 at 10:26 PM, Mark Morgan Lloyd wrote: How about a Capcha that was a coding problem? Some users do not speak english very well, so they may not understand the problem that we are trying to express. But they speak Pascal, otherwise why a

Re: [Lazarus] Forum under attack

2011-01-12 Thread José Mejuto
Hello Lazarus-List, Wednesday, January 12, 2011, 2:00:34 AM, you wrote: >> IMHO the "solution" is to personalize the captcha. The most simple >> captcha is hard to be resolved by a computer if the captcha "style" >> change everyday. HPD> IMO it depends on the financial interest, when e.g. compani

Re: [Lazarus] Namespace

2011-01-12 Thread Sven Barth
Am 11.01.2011 22:42, schrieb Hans-Peter Diettrich: Marcos Douglas schrieb: So if rxlib would take the namespace "rx" (on top of units), and someone else did also take that namespace, then you have the same problem You right... but, of course at Namespaces will be much longer than "rx"! Th