Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Felipe Monteiro de Carvalho
On 6/24/07, Catalin Zamfir Alexandru <[EMAIL PROTECTED]> wrote: Ok, so how do I do to update my QT/Lazarus for the fix you just made? To update you need to use a subversion Lazarus. http://wiki.lazarus.freepascal.org/Getting_Lazarus#Via_SVN Oh, and by the way, when using MessageDlg (

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Catalin Zamfir Alexandru
Ok, so how do I do to update my QT/Lazarus for the fix you just made? Oh, and by the way, when using MessageDlg (..., , [mbOK, mbCancel], ...) or any other combination, the buttons don't show, the alert box is as wide as the screen [it should be small, relative to the text as in the

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Felipe Monteiro de Carvalho
Hi, I just fixed the menu bug =) I had to put a central widget, on top of which the other ones will be placed. The same thing the Gtk interface made. On 6/23/07, Catalin Zamfir Alexandru <[EMAIL PROTECTED]> wrote: Besides this Qt error, what does a developer have to know to enter the F

Re: [fpc-pascal] fpc in cpp mode

2007-06-23 Thread Catalin Zamfir Alexandru
As I know of, FPC automatically detects which files should be recompiled. Think it's a feature of FPC. On Sunday 24 June 2007 06:03, Marc Santhoff wrote: > Hi, > > is it possible to tell fpc to only replace macros in the code and > store/show the generated file? > > Like Running "cpp myfile.c > m

Re: [fpc-pascal] fpc in cpp mode

2007-06-23 Thread Michalis Kamburelis
Marc Santhoff wrote: > Hi, > > is it possible to tell fpc to only replace macros in the code and > store/show the generated file? > > Like Running "cpp myfile.c > myfile.preprocessed.c"? > This doesn't answer your question, but maybe it's helpful: While developing pasdoc, I wrote a Pascal prep

[fpc-pascal] fpc in cpp mode

2007-06-23 Thread Marc Santhoff
Hi, is it possible to tell fpc to only replace macros in the code and store/show the generated file? Like Running "cpp myfile.c > myfile.preprocessed.c"? TIA, Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.or

Re: [fpc-pascal] Assigning a result of a method reference

2007-06-23 Thread Michael Van Canneyt
On Sat, 23 Jun 2007, Joao Morais wrote: > Michael Van Canneyt wrote: > > > > On Sat, 23 Jun 2007, Joao Morais wrote: > > > > > Hello, > > > > > > Taking the following code: > > > > > > {$mode objfpc}{$h+} > > > class function tfoo.classmetadata: string; > > > var > > > vmetadatamethod: funct

Re: [fpc-pascal] Assigning a result of a method reference

2007-06-23 Thread Joao Morais
Michael Van Canneyt wrote: On Sat, 23 Jun 2007, Joao Morais wrote: Hello, Taking the following code: {$mode objfpc}{$h+} class function tfoo.classmetadata: string; var vmetadatamethod: function: string of object; begin vmetadatamethod := @internalmetadatastr; // more code Result := v

Re: [fpc-pascal] Assigning a result of a method reference

2007-06-23 Thread Michael Van Canneyt
On Sat, 23 Jun 2007, Joao Morais wrote: > > Hello, > > Taking the following code: > > {$mode objfpc}{$h+} > class function tfoo.classmetadata: string; > var > vmetadatamethod: function: string of object; > begin > vmetadatamethod := @internalmetadatastr; > // more code > Result := vme

[fpc-pascal] Assigning a result of a method reference

2007-06-23 Thread Joao Morais
Hello, Taking the following code: {$mode objfpc}{$h+} class function tfoo.classmetadata: string; var vmetadatamethod: function: string of object; begin vmetadatamethod := @internalmetadatastr; // more code Result := vmetadatamethod; end; the last assignment doesn't compile, the compile

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Catalin Zamfir Alexandru
You're of the Lazarus/FreePascal developers? As far as this thread went, I believe you are :D. Besides this Qt error, what does a developer have to know to enter the FreePascal/Lazarus developer team? I'd like to learn and help you guys back. On Saturday 23 June 2007 16:26, Fel

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Felipe Monteiro de Carvalho
On 6/23/07, Catalin Zamfir Alexandru <[EMAIL PROTECTED]> wrote: 2. Showing the Compiled version on QT, where the menu doesn't show but if you click where it should have been, it opens, while the EditResult Field and the buttons overflow the menu. Ah, now I know what happens. Qt doesn´t move the

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Felipe Monteiro de Carvalho
On 6/23/07, Catalin Zamfir Alexandru <[EMAIL PROTECTED]> wrote: You can download KCalculator from an attachement early in this thread and compile it on a QT 4.3 Interface. If you can't find the attachement I'll make a screenshot. I have found the attachment, but I still want a screensh

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Catalin Zamfir Alexandru
Yes, I use Linux, 2.6.18 kernel, but I really don't think that something has to do with this. Don't really think that the Mac problem repeats itself in Linux. I could try to change the "About" and "Close" captions, but really, don't think it would do any good. In any case, I'l

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Felipe Monteiro de Carvalho
On 6/23/07, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: The menu problem is really wierd. On a small test app the menus show correctly, I still haven't found what makes one work and the other not. Ok, I found out, at least on my Mac. Mac programs have a different menu structure. So

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Felipe Monteiro de Carvalho
The menu problem is really wierd. On a small test app the menus show correctly, I still haven't found what makes one work and the other not. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepas