Re: [Lazarus] Delphi XE2 uses FPC, plus VCL just not portable

2011-08-09 Thread Vincent Snijders
2011/8/8 Graeme Geldenhuys graemeg.li...@gmail.com: On 8 August 2011 22:20, waldo kitty wrote: numerous of your posts seem to be being duplicated into the list... i don't I think it's a mailing list issue or something. Because I'm also seeing lots of duplicate mails, but they seem to be from

Re: [Lazarus] Editor font height in IDE options

2011-08-09 Thread cobines
2011/8/9 Martin laza...@mfriebe.de: the editor option files has version numbers. it only gets new written, if the user makes achange. the loader must always be able to load the old version, and convert. But if a user does change his options, then it should write size... I didn't use

Re: [Lazarus] RE : Forms in DLL

2011-08-09 Thread Michael Schnell
On 08/08/2011 06:54 PM, Juan Sánchez wrote: I have tried it. From main program, one button call a procedure in a DLL with a form. Inside this procedure I code this: Application.Initialize; Application.CreateForm(TForm2, Form2); Form2.ShowModal(); Is this Ok? I don't think so. The main thread

Re: [Lazarus] RE : RE : Forms in DLL

2011-08-09 Thread Michael Schnell
On 08/08/2011 07:26 PM, Juan Sánchez wrote: But only in Windows. In Mac main window is blocked. Windows uses messages to notify a running thread about a GUI event, so multiple GUIs per thread (even if IMHO not supported by the LCL) are possible in theory. With Linux and Mac the GUI uses a

Re: [Lazarus] Delphi XE2 uses FPC, plus VCL just not portable

2011-08-09 Thread Michael Schnell
On 08/08/2011 10:20 PM, waldo kitty wrote: do you have any ideas why i might be seeing this duplication?? I also have duplicated mails in the folder for this forum. The reason is: The list server creates from original sender, to the list and cc me (the recipient) So you can't reply to

Re: [Lazarus] RE : Forms in DLL

2011-08-09 Thread Juan Sánchez
Thans Michael. I have not developed with threads. I've tried the following. I do not know if it is right. The window is created from the main application, but you can not close it. This code goes in DLL: ... Type TGUI2Thread = class(TThread) private protected procedure

[Lazarus] TDateEdit Problem

2011-08-09 Thread David Copeland
Hi, Can anyone think of a reason why TDateEdit would stop working in an application when thay were working before. There are several TDateEdit's on several forms and they all have stopped responding. If I click on the form background the DateEdit will close. If I try to manually enter the date

Re: [Lazarus] RE : Forms in DLL

2011-08-09 Thread Michael Schnell
On 08/09/2011 01:14 PM, Juan Sánchez wrote: Thans Michael. I have not developed with threads. I've tried the following. I do not know if it is right. The window is created from the main application, but you can not close it. I did a lot of work with threads, but I did not use Lazarus in

Re: [Lazarus] TDateEdit Problem

2011-08-09 Thread Michael Schnell
Don't hijack a running mailing list thread ! -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] RE : Forms in DLL

2011-08-09 Thread Michael Schnell
Sorry for typing too fast (again :( ). in fact I would try something like this: var GUI2Thread: TGUI2Thread; GUI2Application: TApplication procedure TGUI2Thread.Execute; begin GUI2Application:= TApplication.create; GUI2Application.Title:='GUI2Test'; GUI2Application.Initialize;

Re: [Lazarus] New? TDateEdit Problem

2011-08-09 Thread David Copeland
Oops, sorry, I didn't notice. On Tue, 2011-08-09 at 14:10 +0200, Michael Schnell wrote: Don't hijack a running mailing list thread ! -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] TDateEdit Problem

2011-08-09 Thread David Copeland
Apologies to all for mis-posting my last message, I realize now how it happened. Re-posted (hopefully in a new thread). Hi, Can anyone think of a reason why TDateEdit would stop working in an application when thay were working before. There are several TDateEdit's on several forms and they all

Re: [Lazarus] RE : Forms in DLL

2011-08-09 Thread Michael Schnell
On 08/09/2011 02:19 PM, Juan Sánchez wrote: When I call DLL funtion (DllMessage) from main program, new Window shows but it's imposible to close it with close button in title bar. It only closes where I close main window. I did understand this, please try with the new created TApplication

Re: [Lazarus] Delphi XE2 uses FPC, plus VCL just not portable

2011-08-09 Thread waldo kitty
On 8/8/2011 17:08, Graeme Geldenhuys wrote: On 8 August 2011 22:20, waldo kitty wrote: numerous of your posts seem to be being duplicated into the list... i don't I think it's a mailing list issue or something. Because I'm also seeing lots of duplicate mails, but they seem to be from Michael

Re: [Lazarus] RE : Forms in DLL

2011-08-09 Thread Michael Schnell
On 08/09/2011 02:43 PM, Juan Sánchez wrote: Well. I've tried new method. Now DLL window closes but main window not... :-)) And now, I can get many Windows from DLL. Sounds rather good :) Yes. I designed forms with form designer. So quite obviously the correct resource is included in the dll

[Lazarus] multi version package support

2011-08-09 Thread ik
Hello list, One of the best things in Ruby gems is the ability to have multiple versions of the same package and write in code what is the exact version of the package we wish to use, or just let it to decide for us. I find it very helpful, because I'm not always interested in the newest version,

Re: [Lazarus] Delphi XE2 uses FPC, plus VCL just not portable

2011-08-09 Thread Alexsander Rosa
IMHO it's very humiliating for Borland/Embarcadero to use FPC as a compiler. It's like Microsoft using Open Office to generate PDF from a DOCX file. -- Atenciosamente, Alexsander da Rosa http://rednaxel.com -- ___ Lazarus mailing list

Re: [Lazarus] Delphi XE2 uses FPC, plus VCL just not portable

2011-08-09 Thread Michael Schnell
On 08/09/2011 03:40 PM, Alexsander Rosa wrote: IMHO it's very humiliating for Borland/Embarcadero to use FPC as a compiler. It's like Microsoft using Open Office to generate PDF from a DOCX file. AFAIK, Microsoft did use Linux (or Unix) for their servers providing Internet functions to the

Re: [Lazarus] RE : Forms in DLL

2011-08-09 Thread Michael Schnell
On 08/09/2011 03:46 PM, Juan Sánchez wrote: I will not stop :-) untill get it. Brave man... -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] multi version package support

2011-08-09 Thread Felipe Monteiro de Carvalho
For packages which install into the IDE this is impossible, because they will conflict with one another. But it should be possible to implement this for packages which don't install into the IDE. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing

Re: [Lazarus] Build command menu on WinXP is broken(?)

2011-08-09 Thread Marcos Douglas
On Mon, Aug 8, 2011 at 12:09 PM, Marcos Douglas m...@delfire.net wrote: Hi, I think something wrong in Lazarus Build menu command, trunk version on WinXP. I got the new sources of trunk; compiled with new branch fixes_2_6 (2.5.1) with sucess; open the IDE (using my old PCP directory with

Re: [Lazarus] Build command menu on WinXP is broken(?)

2011-08-09 Thread Felipe Monteiro de Carvalho
On Mon, Aug 8, 2011 at 8:57 PM, Marcos Douglas m...@delfire.net wrote: It was to be the same code, isn't? As far as I know they don't use the same code. Mattias should know better, but he hasn't been in the mailling list lately, so I suppose he is traveling or something. -- Felipe Monteiro de

Re: [Lazarus] TDateEdit Problem

2011-08-09 Thread Gerard Visent
Hi David, There are several TDateEdit's on several forms and they all have stopped responding. If I click on the form background the DateEdit will close. This may be due to the following change, made in mid-july: http://bugs.freepascal.org/view.php?id=14059 See also

Re: [Lazarus] TDateEdit Problem

2011-08-09 Thread David Copeland
Hi Gerard, Ok, thanks for the idea. Dave. On Tue, 2011-08-09 at 18:39 +0200, Gerard Visent wrote: Hi David, There are several TDateEdit's on several forms and they all have stopped responding. If I click on the form background the DateEdit will close.

[Lazarus] SQLdb not detect automatically Required field

2011-08-09 Thread silvioprog
Hi, Someone is experiencing this problem?: http://62.166.198.202/view.php?id=19872 I'm trying to create an OPF, but with this bug still isn't possible to continue implementing my framework. Thx. -- Silvio Clécio === Blog - silvioprog.com.br Twitter

Re: [Lazarus] Build command menu on WinXP is broken(?)

2011-08-09 Thread Marcos Douglas
On Tue, Aug 9, 2011 at 1:18 PM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: On Mon, Aug 8, 2011 at 8:57 PM, Marcos Douglas m...@delfire.net wrote: It was to be the same code, isn't? As far as I know they don't use the same code. Mattias should know better, but he

Re: [Lazarus] Editor font height in IDE options

2011-08-09 Thread Martin
On 09/08/2011 10:58, cobines wrote: 2011/8/9 Martinlaza...@mfriebe.de: the editor option files has version numbers. it only gets new written, if the user makes achange. the loader must always be able to load the old version, and convert. But if a user does change his options, then it should

Re: [Lazarus] Build command menu on WinXP is broken(?)

2011-08-09 Thread Marcos Douglas
2011/8/9 Juan Sánchez aldeac...@gmail.com: Hello Marcos,     I hasn't any problem building all IDE in menu in Windows7 with last svn (31925) and FPC from svn (2.7.1). The only problem for me came from Zeos components (ZAbstractRODataset in line 3114 that check for FPC2_1UP to let ftString

Re: [Lazarus] SQLdb not detect automatically Required field

2011-08-09 Thread Graeme Geldenhuys
On 9 August 2011 18:52, silvioprog wrote: I'm trying to create an OPF, Sorry I can't help with your problem, but I do have a question... Just curious. Have you tried tiOPF2? This is a OPF with a lot of features and very stable code base - been in production use for many years, by many

Re: [Lazarus] Build command menu on WinXP is broken(?)

2011-08-09 Thread Maxim Ganetsky
09.08.2011 23:07, Marcos Douglas пишет: 2011/8/9 Juan Sánchezaldeac...@gmail.com: Hello Marcos, I hasn't any problem building all IDE in menu in Windows7 with last svn (31925) and FPC from svn (2.7.1). The only problem for me came from Zeos components (ZAbstractRODataset in line 3114 that

Re: [Lazarus] TDateEdit Problem

2011-08-09 Thread Maxim Ganetsky
09.08.2011 16:23, David Copeland пишет: Apologies to all for mis-posting my last message, I realize now how it happened. Re-posted (hopefully in a new thread). Hi, Can anyone think of a reason why TDateEdit would stop working in an application when thay were working before. There are several

Re: [Lazarus] Build command menu on WinXP is broken(?)

2011-08-09 Thread Marcos Douglas
On Tue, Aug 9, 2011 at 4:53 PM, Maxim Ganetsky gan...@narod.ru wrote: 09.08.2011 23:07, Marcos Douglas пишет: 2011/8/9 Juan Sánchezaldeac...@gmail.com: Hello Marcos,     I hasn't any problem building all IDE in menu in Windows7 with last svn (31925) and FPC from svn (2.7.1). The only

Re: [Lazarus] Build command menu on WinXP is broken(?)

2011-08-09 Thread Flávio Etrusco
The packages are RX and Zeos... others is default in Lazarus. Why the IDE show the image (error) in attachment after a Build? Marcos Douglas I don't think you're giving enough details. The message is clearly indicative that the error is in an application or package (I doubt there's a form

Re: [Lazarus] SQLdb not detect automatically Required field

2011-08-09 Thread silvioprog
Hi Graeme, 2011/8/9 Graeme Geldenhuys graemeg.li...@gmail.com: Sorry I can't help with your problem, but I do have a question... No problem. ;) It seems to be a bug in fcl-db. Just curious. Have you tried tiOPF2? This is a OPF with a lot of features and very stable code base - been in

Re: [Lazarus] Build command menu on WinXP is broken(?)

2011-08-09 Thread Hans-Peter Diettrich
Marcos Douglas schrieb: Well, I continued my tests: 1- I compiled Lazarus /branches/fixes_0_9_30/ (I had it compiled with FPC 2.4.5) using lazbuild tool and FPC 2.5.1 (branches/fixes_2_6/) 2- Looks like worked... 3- I opened the IDE and change the FPC directories 3- I clicked in Compile...

Re: [Lazarus] SQLdb not detect automatically Required field

2011-08-09 Thread Graeme Geldenhuys
On 9 August 2011 23:11, silvioprog wrote: No problem. ;) It seems to be a bug in fcl-db. I read the bug report you listed, but haven't taken a look at the sample project attached to that report. I use SqlDB (which falls under the fcl-db umbrella) extensively, but haven't found any major issues.

Re: [Lazarus] SQLdb not detect automatically Required field

2011-08-09 Thread silvioprog
2011/8/9 Graeme Geldenhuys graemeg.li...@gmail.com: I read the bug report you listed, but haven't taken a look at the sample project attached to that report. I use SqlDB (which falls under the fcl-db umbrella) extensively, but haven't found any major issues. Those that I have found via the

Re: [Lazarus] SQLdb not detect automatically Required field

2011-08-09 Thread Michael Van Canneyt
On Tue, 9 Aug 2011, silvioprog wrote: Hi, Someone is experiencing this problem?: http://62.166.198.202/view.php?id=19872 I'm trying to create an OPF, but with this bug still isn't possible to continue implementing my framework. It is not always possible to detect the required field.

Re: [Lazarus] SQLdb not detect automatically Required field

2011-08-09 Thread waldo kitty
On 8/9/2011 12:52, silvioprog wrote: Hi, Someone is experiencing this problem?: http://62.166.198.202/view.php?id=19872 I'm trying to create an OPF, but with this bug still isn't possible to continue implementing my framework. off the top of my head, without reading the bug report, is this

Re: [Lazarus] Build command menu on WinXP is broken(?)

2011-08-09 Thread waldo kitty
On 8/9/2011 13:22, Marcos Douglas wrote: On Tue, Aug 9, 2011 at 1:18 PM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: On Mon, Aug 8, 2011 at 8:57 PM, Marcos Douglasm...@delfire.net wrote: It was to be the same code, isn't? As far as I know they don't use the same

Re: [Lazarus] TDateEdit Problem

2011-08-09 Thread Felipe Monteiro de Carvalho
On Tue, Aug 9, 2011 at 9:58 PM, Maxim Ganetsky gan...@narod.ru wrote: Please create a bug report, attach to it small test project and detailed description what doesn't work and what is expected. And please write in the title of the bug report the word regression -- Felipe Monteiro de Carvalho