Re: [lazarus] Form.Align without effect

2007-10-18 Thread Christian U.
Thomas Moritz schrieb: This setting: Form1.Align:=alClient; //or alTop was ignored. You can help? Thanks. If Form has an parent this works for me. Linux/ FPC 2.2.0 / Lazarus 0.9.23 Beta Regards Th. Moritz _ To unsubsc

[lazarus] Custom editing of a TStringGrid cell (with PickList)

2007-10-18 Thread Adrian Maier
Hello, I'm looking for ideas for making a TSringGrid behave exactly the way i like . One of the columns ('Category') has a short list of pre-defined values , so i've set the buttonStyle of that column to cbsPickList and defined a select editor event handler: procedure TTrackTimeMainForm1.StringG

Re: [lazarus] Is there a way to comment-out lines in .lfm?

2007-10-18 Thread James Chandler Jr
Thanks, Mattias! - Original Message - From: "Mattias Gaertner" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 17, 2007 4:03 AM Subject: Re: [lazarus] Is there a way to comment-out lines in .lfm? On Tue, 16 Oct 2007 23:13:21 -0400 James Chandler Jr <[EMAIL PROTECTED]> wrote: Is th

Re: [lazarus] SQLdb : program crash using more than 9-10 fieldsets: bug...?

2007-10-18 Thread Joost van der Sluis
Op donderdag 18-10-2007 om 11:23 uur [tijdzone +0200], schreef Alvise Nicoletti: > This is a bug notification... I managed to re-create the "segmentation > fault" bug. > > The service was crashing without giving any output and any reason, the > problem was in the NUMBER of the parameters in the

Re: [lazarus] SQLdb and 64 bits

2007-10-18 Thread Joost van der Sluis
Op donderdag 18-10-2007 om 11:32 uur [tijdzone +0200], schreef Alvise Nicoletti: > Joost van der Sluis ha scritto: > > Op woensdag 17-10-2007 om 18:03 uur [tijdzone +0200], schreef Alvise > > Nicoletti: > > > > > >> I tryed to compile my linux service for a server with ubuntu 64 bit and > >> my

Re: [lazarus] SQLdb and 64 bits

2007-10-18 Thread Alvise Nicoletti
Joost van der Sluis ha scritto: Op woensdag 17-10-2007 om 18:03 uur [tijdzone +0200], schreef Alvise Nicoletti: I tryed to compile my linux service for a server with ubuntu 64 bit and mysql 5. So I changed in the code every mysql40 reference to mysql50. I tryed to change target, compile, an

[lazarus] SQLdb : program crash using more than 9-10 fieldsets: bug...?

2007-10-18 Thread Alvise Nicoletti
This is a bug notification... I managed to re-create the "segmentation fault" bug. The service was crashing without giving any output and any reason, the problem was in the NUMBER of the parameters in the result set fetched in the select: 10. Fetching less parameters (9), all works. You can

Re: Min/Max Constraint handling in Win32 interface

2007-10-18 Thread Graeme Geldenhuys
Ah, I found my answer in the win32callback.inc unit. Graeme. On 18/10/2007, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > Hi, > > Where in the Win32-LCL interface does the Min/Max size constraints get > set for Forms? I searched all the code and can only find information > where it queries the

Re: [lazarus] Object Inspector and non-default values

2007-10-18 Thread Graeme Geldenhuys
On 18/10/2007, Paul Ishenin <[EMAIL PROTECTED]> wrote: > > > > How does the Object Inspector detect non-default values of properties? > > > > Look at TPropertyEditor.GetDefaultOrdValue (lazarus\ideintf\propedits.pp) > Thanks Paul. Regards, - Graeme -

Re: [lazarus] Object Inspector and non-default values

2007-10-18 Thread Paul Ishenin
Graeme Geldenhuys пишет: Hi, How does the Object Inspector detect non-default values of properties? Look at TPropertyEditor.GetDefaultOrdValue (lazarus\ideintf\propedits.pp) Best regards, Paul Ishenin. _ To unsubscribe: ma

Re: [lazarus] SQLdb and 64 bits

2007-10-18 Thread Joost van der Sluis
Op woensdag 17-10-2007 om 18:03 uur [tijdzone +0200], schreef Alvise Nicoletti: > I tryed to compile my linux service for a server with ubuntu 64 bit and > mysql 5. > So I changed in the code every mysql40 reference to mysql50. > I tryed to change target, compile, and copy the binary to the anoth

Re: [lazarus] SQLdb and 64 bits

2007-10-18 Thread Alvise Nicoletti
Henry Vermaak ha scritto: On 17/10/2007, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: Hi... I tryed to compile my linux service for a server with ubuntu 64 bit and mysql 5. So I changed in the code every mysql40 reference to mysql50. I tryed to change target, compile, and copy the binary to t

[lazarus] Object Inspector and non-default values

2007-10-18 Thread Graeme Geldenhuys
Hi, How does the Object Inspector detect non-default values of properties? For example: I create a custom component which has a Integer property defaulting to 100. The constructor also sets FMyProp = 100. TMyComponent = class(...) published property MyProp: Integer read FMyProp wri

[lazarus] Min/Max Constraint handling in Win32 interface

2007-10-18 Thread Graeme Geldenhuys
Hi, Where in the Win32-LCL interface does the Min/Max size constraints get set for Forms? I searched all the code and can only find information where it queries the size, but never sets the size. The Min/Max constraints do work for a TForm, but I can't seem to find out which Win32 API it calls t

[lazarus] Custom editing of a TStringGrid cell (with PickList)

2007-10-18 Thread Adrian Maier
Hello, I'm looking for ideas for making a TSringGrid behave exactly the way i like . One of the columns ('Category') has a short like of pre-defined values , so i've set the buttonStyle of that column to cbsPickList and , defined a select editor event handler: procedure TTrackTimeMainForm1.Strin

[lazarus] Form.Align without effect

2007-10-18 Thread Thomas Moritz
This setting: Form1.Align:=alClient; //or alTop was ignored. You can help? Thanks. Linux/ FPC 2.2.0 / Lazarus 0.9.23 Beta Regards Th. Moritz _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the