Re: [Lazarus] Problem with fshcomp package

2009-12-18 Thread Vincent Snijders
Tomaž Zupan schreef: Wednesday 16 December 2009 11:28:00 je Mattias Gaertner napisal: My question is how to set default value for text property of TSrEditCur component? In the constructor of TSrEditCur: ControlStyle:=ControlStyle-[csSetCaption]; Text:='0.0'; Hi, thank you for this. I

[Lazarus] Anchor editor + themes

2009-12-18 Thread Juha Manninen
On tiistai, 15. joulukuuta 2009 12:03:03 Mattias Gaertner wrote: JoshyFun joshy...@gmail.com wrote: Controls are being moved quite sure because they are anchored ones to others, maybe you must remove all anchors (to other objects) while you design. Maybe Juha has not yet spotted the

Re: [Lazarus] GTK2 changed to single-handle-per-form design

2009-12-18 Thread Henry Vermaak
2009/12/18 Graeme Geldenhuys graemeg.li...@gmail.com: John wrote: this century!  (Not sure why we still mostly refer to monitors in inches when Australia has been metrified for decades.) It's those fn Americans. :-) I think they are one of the last countries in the world (read stubborn)

Re: [Lazarus] Anchor editor + themes

2009-12-18 Thread Mattias Gärtner
Zitat von Juha Manninen juha.manni...@phnet.fi: [...] If not, then something else should be done to the build dialog. It is just not good GUI design now. Who decides? I understood that nobody saw any fundamental problem with my Build Profiles, disagreements were about the GUI. I will

Re: [Lazarus] Form always 400 x 300 initially

2009-12-18 Thread Bart
You mean that this does not work? TMyForm = class(TCustomForm) public constructor Create(AOwner: TComponent); override; end; consructor TMyForm.Create(AOwner: TComponent); begin inherited Create(AOwner); Width := 640; Height := 480; end; Bart --

Re: [Lazarus] Anchor editor + themes

2009-12-18 Thread Paul Ishenin
Mattias Gärtner wrote: Speaking for myself: I use the dialog sometimes a hundred times a day and so I need a quick frontend where I can quickly set what to build and define the options. I don't care where the buttons are placed or if the widgetset is a combobox. But all options should be on

Re: [Lazarus] Anchor editor + themes

2009-12-18 Thread zeljko
On Friday 18 December 2009 15:03, Paul Ishenin wrote: Mattias Gärtner wrote: Speaking for myself: I use the dialog sometimes a hundred times a day and so I need a quick frontend where I can quickly set what to build and define the options. I don't care where the buttons are placed or if

[Lazarus] Multi-platform sound playback

2009-12-18 Thread Reimar Grabowski
Hi all, I am working on movie playback with FPC via ffmpeg. The video part is mostly complete and working but now I am looking for a cross-platform (Linux, Mac OS, win) way to play sounds. I don't need any fancy library with support for all and every sound format out there as I decode the

Re: [Lazarus] Form always 400 x 300 initially

2009-12-18 Thread Phil Hess
Correct, does not work when TMyForm is registered with IDE via FormEditingHook.RegisterDesignerBaseClass. Thanks. -Phil - Bart bartjun...@gmail.com wrote: You mean that this does not work? TMyForm = class(TCustomForm) public constructor Create(AOwner: TComponent); override; end;

[Lazarus] Build Profiles

2009-12-18 Thread Juha Manninen
On perjantai, 18. joulukuuta 2009 16:22:04 zeljko wrote: So, just few changes are needed in current dialog: 1.combo box instead of TEdit control for Target OS/CPU There is a combobox already for Target Directory and CPU, but they have no selections. I wanted to ask about it, is it a

Re: [Lazarus] Build Profiles

2009-12-18 Thread Graeme Geldenhuys
Juha Manninen wrote: There is a combobox already for Target Directory and CPU, but they have no I implemented Target OS and CPU combobox selections a few months back. The patch is still somewhere in Mantis. I'll try and find the mantis report and see what is outstanding to get it applied.

Re: [Lazarus] Multi-platform sound playback

2009-12-18 Thread Duncan Parsons
-Original Message- From: Reimar Grabowski [mailto:reimg...@web.de] Sent: 18 December 2009 14:30 To: Lazarus List Subject: [Lazarus] Multi-platform sound playback Hi all, I am working on movie playback with FPC via ffmpeg. The video part is mostly complete and working but now I am

Re: [Lazarus] Multi-platform sound playback

2009-12-18 Thread Michael Joyner
Reimar Grabowski wrote: Hi all, I am working on movie playback with FPC via ffmpeg. The video part is mostly complete and working but now I am looking for a cross-platform (Linux, Mac OS, win) way to play sounds. I don't need any fancy library with support for all and every sound format out

Re: [Lazarus] Form always 400 x 300 initially

2009-12-18 Thread Mattias Gaertner
On 17 Dec 2009 18:40:13 - Phil Hess macp...@fastermac.net wrote: In my TCustomForm-based design control, I would like it to have an initial size of my choosing rather than the default 400 wide, 300 high. It appears as though these values are hardwired in the FormEditor1.CreateComponent

Re: [Lazarus] Build Profiles

2009-12-18 Thread Juha Manninen
On perjantai, 18. joulukuuta 2009 16:42:30 Graeme Geldenhuys wrote: The configurable Build Profiles would solve that. Sorry, I did not follow the complete message thread. When you say build profiles, do you mean only for Lazarus IDE rebuilding, or do you mean build profiles for our

[Lazarus] Build Profiles

2009-12-18 Thread Juha Manninen
On perjantai, 18. joulukuuta 2009 15:37:26 Mattias Gärtner wrote: Speaking for myself: I use the dialog sometimes a hundred times a day and so I need a quick frontend where I can quickly set what to build and define the options. I don't care where the buttons are placed or if the widgetset is

Re: [Lazarus] Build Profiles

2009-12-18 Thread Mattias Gaertner
On Fri, 18 Dec 2009 16:42:30 +0200 Graeme Geldenhuys graemeg.li...@gmail.com wrote: Juha Manninen wrote: [...] The configurable Build Profiles would solve that. Sorry, I did not follow the complete message thread. When you say build profiles, do you mean only for Lazarus IDE rebuilding, or

Re: [Lazarus] Build Profiles

2009-12-18 Thread Mattias Gaertner
On Fri, 18 Dec 2009 17:56:59 +0200 Juha Manninen juha.manni...@phnet.fi wrote: On perjantai, 18. joulukuuta 2009 17:30:41 Mattias Gaertner wrote: Because I use a dozen -d flags as needed and set the parts as needed. You know, when you add a -d flag you have to compile a part clean, because

Re: [Lazarus] GTK2 changed to single-handle-per-form design

2009-12-18 Thread Alexsander Rosa
Here in Brazil we've been always metric but we use inches sometimes. For example: most TV sets, computer monitors, diskettes (obsolete), water pipes (specially smaller sizes), surf boards and automobile wheels still are measured in inches. The conversion is easy: 1 in = 2.54 cm, 1 feet = 12

Re: [Lazarus] Build Profiles

2009-12-18 Thread Juha Manninen
On perjantai, 18. joulukuuta 2009 18:23:18 Mattias Gaertner wrote: I saw the MaxProfiles=100 constant. ;) I didn't dare to ask, but maybe now it is time: Why this limit? Yes, good question. I copied that part of code from ExtToolDialog. There was a limit defined as MaxExtTools =

Re: [Lazarus] Multi-platform sound playback

2009-12-18 Thread Reimar Grabowski
On Fri, 18 Dec 2009 09:49:09 -0500 Michael Joyner mjoy...@ewc.edu wrote: Have you tried the SDL kit? No. Of course SDL will do the job just fine but I don't want to depend on it. Actually I would really like to not use any C-libs for sound at all but it looks like I have not much choice. But

Re: [Lazarus] GTK2 changed to single-handle-per-form design

2009-12-18 Thread Reimar Grabowski
On Fri, 18 Dec 2009 14:28:38 -0200 Alexsander Rosa alexsander.r...@gmail.com wrote: Here in Brazil we've been always metric but we use inches sometimes. For example: most TV sets, computer monitors, diskettes (obsolete), water pipes (specially smaller sizes), surf boards and automobile wheels

[Lazarus] opensuse test

2009-12-18 Thread Mattias Gaertner
Under opensuse 11 there is a strange crashing bug when the qtcurve library is installed. The IDE crashes often when showing the open dialog (sometimes you have to try a few times and wander around in the file system before it happens). Can someone test under opensuse if this is still the case

Re: [Lazarus] opensuse test

2009-12-18 Thread Juha Manninen
On perjantai, 18. joulukuuta 2009 19:29:53 Mattias Gaertner wrote: Under opensuse 11 there is a strange crashing bug when the qtcurve library is installed. The IDE crashes often when showing the open dialog (sometimes you have to try a few times and wander around in the file system before it

Re: [Lazarus] opensuse test

2009-12-18 Thread zeljko
On Friday 18 December 2009 18:29, Mattias Gaertner wrote: Under opensuse 11 there is a strange crashing bug when the qtcurve library is installed. The IDE crashes often when showing the open dialog (sometimes you have to try a few times and wander around in the file system before it happens).

Re: [Lazarus] opensuse test

2009-12-18 Thread Juha Manninen
On perjantai, 18. joulukuuta 2009 20:24:37 zeljko wrote: On Friday 18 December 2009 18:29, Mattias Gaertner wrote: Under opensuse 11 there is a strange crashing bug when the qtcurve library is installed. The IDE crashes often when showing the open dialog (sometimes you have to try a few

Re: [Lazarus] opensuse test

2009-12-18 Thread zeljko
On Friday 18 December 2009 19:31, Juha Manninen wrote: On perjantai, 18. joulukuuta 2009 20:24:37 zeljko wrote: On Friday 18 December 2009 18:29, Mattias Gaertner wrote: Under opensuse 11 there is a strange crashing bug when the qtcurve library is installed. The IDE crashes often when

Re: [Lazarus] opensuse test

2009-12-18 Thread Juha Manninen
On perjantai, 18. joulukuuta 2009 20:37:29 zeljko wrote: Yes, I know that, but why other GTK2 programs doesn't crash ? Right. It raises a question of where the bug is: in qtcurve lib or in Lazarus GTK2 bindings? Juha -- ___ Lazarus mailing list

[Lazarus] ShellExecute

2009-12-18 Thread Manuel Galeote
In windows 7 I’m trying to open a word document with the uses windows and shellExecute (lazarus 0.29 fpc 2.5.1) That work: ShellExecute(0, nil, PChar('C: \abc.doc'),nil,nil,SW_SHOWNORMAL); But that not work: ShellExecute(0, nil, PChar('C: \abcó.doc'),nil,nil,SW_SHOWNORMAL); (take a look

Re: [Lazarus] ShellExecute

2009-12-18 Thread cobines
2009/12/18 Manuel Galeote i...@redbarcelona.com: In windows 7 I’m trying to open a word document with the uses windows and shellExecute (lazarus 0.29 fpc 2.5.1) That work: ShellExecute(0, nil, PChar('C: \abc.doc'),nil,nil,SW_SHOWNORMAL); But that not work: ShellExecute(0, nil,

Re: [Lazarus] ShellExecute

2009-12-18 Thread Manuel Galeote
Yes, it works. Thank you. -Mensaje original- De: cobines [mailto:cobi...@gmail.com] Enviado el: viernes, 18 de diciembre de 2009 20:16 Para: Lazarus mailing list Asunto: Re: [Lazarus] ShellExecute 2009/12/18 Manuel Galeote i...@redbarcelona.com: In windows 7 I’m trying to open a word

Re: [Lazarus] Build Profiles

2009-12-18 Thread Graeme Geldenhuys
2009/12/18 Juha Manninen juha.manni...@phnet.fi: Build Profiles for Configure Build Lazarus dialog, basically IDE and LCL + options. Ah, I used to simply use the Advanced tab, which works pretty well for what I need. But then I don't rebuild the IDE 100x a day. :-) Couldn't this new dialog

Re: [Lazarus] Build Profiles

2009-12-18 Thread Graeme Geldenhuys
2009/12/18 Mattias Gaertner nc-gaert...@netcologne.de: One of the goals is to make the LCL a normal package. When this is achieved, you don't need to use the build lazarus dialog Nice. This should make life much easier. :) -- Regards, - Graeme -

Re: [Lazarus] Build Profiles

2009-12-18 Thread Graeme Geldenhuys
2009/12/18 Mattias Gaertner nc-gaert...@netcologne.de: in 50 profiles. And I work on five different machines. A TCheckListbox would help me, where I can add options and turn them on if needed. That is exactly how MSEide works. No fancy interface required, just setup an many various compiler

Re: [Lazarus] Anchor editor + themes

2009-12-18 Thread Jesus Reyes
--- El vie 18-dic-09, Paul Ishenin webpi...@mail.ru escribió: De:: Paul Ishenin webpi...@mail.ru Asunto: Re: [Lazarus] Anchor editor + themes A: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Fecha: viernes 18 de diciembre de 2009, 8:03 Mattias Gärtner wrote: Speaking for

Re: [Lazarus] GTK2 changed to single-handle-per-form design

2009-12-18 Thread Graeme Geldenhuys
2009/12/18 Alexsander Rosa alexsander.r...@gmail.com: Here in Brazil we've been always metric but we use inches sometimes. South Africa is similar, though sometimes TV sets are in cm too. eg: my TV set is a 74cm set. South Africa has used the metric system for as long as I can remember, but it

Re: [Lazarus] Anchor editor + themes

2009-12-18 Thread Juha Manninen
On perjantai, 18. joulukuuta 2009 22:54:54 Jesus Reyes wrote: So I miss a profiles feature here, yes. Good to read some others like the idea, too. I first thought it is an extremely cool idea but later started to doubt. I don't know why but once per year we get a new idea of how to improve

Re: [Lazarus] Build Profiles

2009-12-18 Thread Mattias Gaertner
On Fri, 18 Dec 2009 22:45:12 +0200 Graeme Geldenhuys graemeg.li...@gmail.com wrote: 2009/12/18 Juha Manninen juha.manni...@phnet.fi: Build Profiles for Configure Build Lazarus dialog, basically IDE and LCL + options. Ah, I used to simply use the Advanced tab, which works pretty well for

Re: [Lazarus] GTK2 changed to single-handle-per-form design

2009-12-18 Thread Hans-Peter Diettrich
Alexsander Rosa schrieb: Here in Brazil we've been always metric but we use inches sometimes. For example: most TV sets, computer monitors, diskettes (obsolete), water pipes (specially smaller sizes), surf boards and automobile wheels still are measured in inches. The conversion is easy: 1 in

Re: [Lazarus] Form always 400 x 300 initially

2009-12-18 Thread Phil Hess
Many thanks. Now works fine. -Phil - Mattias Gaertner nc-gaert...@netcologne.de wrote: On 17 Dec 2009 18:40:13 - Phil Hess macp...@fastermac.net wrote: In my TCustomForm-based design control, I would like it to have an initial size of my choosing rather than the default 400 wide,

[Lazarus] error when transfering SQLite program from XP to Fedora

2009-12-18 Thread Chris Jennings
Hi All I have sucessfully built a small program using sqlite3 under XP. I have transfered it to my Linux box and chaged the file name for the sqlite db file, in the Zeos Connect component, to the new path. Everything compiles corectly, but when I run the program I get an error saying

Re: [Lazarus] Anchor editor + themes

2009-12-18 Thread Paul Ishenin
Juha Manninen wrote: Good idea, too, but it has one problem: there is no way to delete, rename or reorder the profiles. Deleting, renaming or ordering list entries is a natural thing to do. If they were missing then somebody would complain, and for a good reason. It means there would need to