Re: [Lazarus] LCL-supplied default fixed-width font (Was: First impressions of Lazarus under Mac OS X)

2011-06-24 Thread Graeme Geldenhuys
On 06/23/2011 09:55 PM, Flávio Etrusco wrote: Wouldn't it be a nice addition for LCL to provide a function or constant with a default fixed-width font (and maybe others) for the platform? I think it would be, because currently LCL cross-platform font usage is not very good. My first

Re: [Lazarus] Compile and Build menu entries, Run- or Project-menu?

2011-06-24 Thread Graeme Geldenhuys
On 06/23/2011 06:49 PM, Jesus Reyes wrote: For me Run is the menu where Compile commands are. Menus are most of time accessed by mouse, and for that Run commands on main toolbar are accessed quickly, but there are no Compile commands on toolbar (hint). HINT: It has been possible for many

Re: [Lazarus] Compile and Build menu entries, Run- or Project-menu?

2011-06-24 Thread Graeme Geldenhuys
On 06/23/2011 07:11 PM, Felipe Monteiro de Carvalho wrote: Some projects cannot be run by the IDE (libraries, fpwm, android apps). Add to that list... console apps, web/cgi apps etc. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

Re: [Lazarus] Compile and Build menu entries, Run- or Project-menu?

2011-06-24 Thread Graeme Geldenhuys
On 06/24/2011 12:58 AM, Hans-Peter Diettrich wrote: For the visual representation of menus a *horizontal* TreeView would be nice. I doubt that such an Orientation feature already exists, but it If I understood you correctly, then that already exists in the editor toolbar add-on. My

Re: [Lazarus] First impressions of Lazarus under Mac OS X

2011-06-24 Thread Graeme Geldenhuys
On 06/23/2011 09:30 PM, Martin wrote: Read reply to point 8 first, before trying all the other stuff, if at all... I'll try everything you mentioned tonight, and reply again to your message. I only have access to the iMac at home. 7) Still being stuck on the unknown font in the editor window,

Re: [Lazarus] First impressions of Lazarus under Mac OS X

2011-06-24 Thread Graeme Geldenhuys
On 06/23/2011 10:07 PM, Mattias Gaertner wrote: 1) The Lazarus installer displayed a readme file. There was many punctuation errors in the readme file displayed. Needs fixing. Can you create a list/patch? Yes, I'll supply a patch. 5) The main form of the IDE was HUGE. Spanning the whole

Re: [Lazarus] First impressions of Lazarus under Mac OS X

2011-06-24 Thread Graeme Geldenhuys
On 06/24/2011 06:50 AM, Hans-Peter Diettrich wrote: This is a known problem for all platforms. I already addressed it in an extension of TScreen, where the usable range of screen or monitor coordinates (BoundsRect?) could take into account a task bar - but this requires according support on

Re: [Lazarus] First impressions of Lazarus under Mac OS X

2011-06-24 Thread Graeme Geldenhuys
On 06/24/2011 06:50 AM, Hans-Peter Diettrich wrote: Apart from that I'm still waiting for *full* support of negative display coordinates, as occur on my multi-monitor system :-( I'm starting to think that a better idea than the multi-monitors setup, is just one damn huge display. For example,

Re: [Lazarus] First impressions of Lazarus under Mac OS X

2011-06-24 Thread Mattias Gaertner
On Fri, 24 Jun 2011 09:15:09 +0200 Graeme Geldenhuys graemeg.li...@gmail.com wrote: [...] 5) The main form of the IDE was HUGE. Spanning the whole width of the iMac's display. That just looked totally out of place, but that's maybe just my opinion. It simply used percentage values. No

Re: [Lazarus] Compile and Build menu entries, Run- or Project-menu?

2011-06-24 Thread Graeme Geldenhuys
On 06/23/2011 08:51 PM, Juha Manninen wrote: And true, I also used Ctrl-F9 in Delphi for locating syntax errors, even when I knew the code had them. With Lazarus + FPC compilation is slower and I don't use it like that. Try Quick Compile instead. It removes the linking part, so goes a bit

[Lazarus] mouse [Re: Compile and Build menu entries, Run- or Project-menu?]

2011-06-24 Thread Martin
On 24/06/2011 07:40, Graeme Geldenhuys wrote: HINT #2: Place the Jump Back/Forward items on the toolbar too. This allows you to reserve your code navigation with the mouse - instead of keyboard shorcuts. Seeing that you need a mouse to Ctrl+Click, the mouse for going back in history seems

Re: [Lazarus] First impressions of Lazarus under Mac OS X

2011-06-24 Thread Martin
On 24/06/2011 08:15, Graeme Geldenhuys wrote: Yes. The default is disabled antialiased for all platforms not only OS X. The option is just below the font size. I guess that's another Windows legacy feature. ;-) Having anti-aliased enabled by default makes more sense, seeing that all platforms

Re: [Lazarus] Can't compile WinCE app

2011-06-24 Thread Björn Schreiber
Hi. Perhaps the same problem as mentioned in the forum: http://lazarus.freepascal.org/index.php/topic,13118.0.html hth, Björn -- Björn Schreiber, DRIGUS GmbH news...@drigus.de Bei Email NOSPAM in den Betreff aufnehmen. Put NOSPAM in subject to reach me by email. --

Re: [Lazarus] First impressions of Lazarus under Mac OS X

2011-06-24 Thread Graeme Geldenhuys
On 06/24/2011 09:43 AM, Mattias Gaertner wrote: OS X has a maximize/restore button. But many programs do not use the full screen width. That's what I meant by unlike Windows or Linux. Just about every app I tried under Mac OS X doesn't maximize to full screen width and height. But for some

Re: [Lazarus] Drawing angle boundaries

2011-06-24 Thread Howard Page-Clark
On 23/6/11 1:11, Leonardo M. Ramé wrote: Hi, I need to draw the angle(s) formed by any given four points. As you can see in the attached image, there are two crossed lines and an skewed-rotated ellipse that touches all four points, then between each two points and the cross point I would like

[Lazarus] non-sensical window repositioning

2011-06-24 Thread Felipe Monteiro de Carvalho
Hello, I just found a problem with lcl-gtk2 that I haven't ever seen before. Consider this code: begin Application.Initialize; Application.CreateForm(TForm1, Form1); Form1.Left := 0; Form1.Top := 0; Form1.Width := 1680; Form1.Height := 1050; Application.Run; end. This represents

Re: [Lazarus] Drawing angle boundaries

2011-06-24 Thread Leonardo M . Ramé
On 2011-06-24 10:32:57 +0100, Howard Page-Clark wrote: On 23/6/11 1:11, Leonardo M. Ramé wrote: Hi, I need to draw the angle(s) formed by any given four points. As you can see in the attached image, there are two crossed lines and an skewed-rotated ellipse that touches all four points, then

Re: [Lazarus] non-sensical window repositioning

2011-06-24 Thread Mattias Gaertner
On Fri, 24 Jun 2011 13:49:59 +0200 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: Hello, I just found a problem with lcl-gtk2 that I haven't ever seen before. Consider this code: begin Application.Initialize; Application.CreateForm(TForm1, Form1); Form1.Left

Re: [Lazarus] non-sensical window repositioning

2011-06-24 Thread Felipe Monteiro de Carvalho
On Fri, Jun 24, 2011 at 2:46 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: For full screen see here: http://wiki.lazarus.freepascal.org/Application_full_screen_mode I think we should implement that in the LCL. What do you think about these proposals: 1 TForm.SetFullscreen(AValue:

Re: [Lazarus] non-sensical window repositioning

2011-06-24 Thread Graeme Geldenhuys
On 06/24/2011 01:49 PM, Felipe Monteiro de Carvalho wrote: begin Application.Initialize; Application.CreateForm(TForm1, Form1); Form1.Left := 0; Form1.Top := 0; Form1.Width := 1680; Form1.Height := 1050; Application.Run; end. I adjusted that to one of my monitors 1440x900

Re: [Lazarus] First impressions of Lazarus under Mac OS X

2011-06-24 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: Apart from that I'm still waiting for *full* support of negative display coordinates, as occur on my multi-monitor system :-( Ah, don't talk about multi-monitors. I use a two monitor setup at work under Linux (Gnome desktop). So many apps are screwed because of

Re: [Lazarus] TFindOption

2011-06-24 Thread Bart
@Mattias: thansk for applying. Bart On 6/24/11, Bart bartjun...@gmail.com wrote: @Martin: Sorry I misunderstood you apparantly ... @Mattias: I posted a patch in Mantis: http://bugs.freepascal.org/view.php?id=19619 If you agree, can you apply it (I suppose you have the proper commit rights

Re: [Lazarus] Drawing angle boundaries

2011-06-24 Thread Alexander Klenin
2011/6/23 Leonardo M. Ramé l.r...@griensu.com: Hi, I need to draw the angle(s) formed by any given four points. You can also look at TBGRABitmap. Even if it currently does not support drawing arbitrary arcs, may the author (circular on the forum) will implement it if you ask. I the past he was

[Lazarus] How to use Lazrus IDE as a test case?

2011-06-24 Thread Hans-Peter Diettrich
Currently I want to modify a component, that also is used in the IDE. Consequently I want to use the IDE as a test case, covering many issues not found in simple test programs. Now I ran into a strange problem: When I want to debug Lazarus.lpi, it seems to behave properly, but when I then

Re: [Lazarus] How to use Lazrus IDE as a test case?

2011-06-24 Thread Martin
On 24/06/2011 17:07, Hans-Peter Diettrich wrote: Currently I want to modify a component, that also is used in the IDE. Consequently I want to use the IDE as a test case, covering many issues not found in simple test programs. Now I ran into a strange problem: test case as in automated test,

[Lazarus] ComboBox Bug

2011-06-24 Thread David Copeland
Hi, I believe I have found a ComboBox bug, but I don't how I should categorize it. If you click on the expand list down arrow of the control, the program is terminated and the following message is displayed. david.copeland@dbc:~/projects/test ./CBBug The program 'CBBug' received an X Window

Re: [Lazarus] ComboBox Bug

2011-06-24 Thread Mattias Gaertner
On Fri, 24 Jun 2011 11:48:08 -0400 David Copeland david.copel...@jsidata.ca wrote: Hi, I believe I have found a ComboBox bug, but I don't how I should categorize it. If you click on the expand list down arrow of the control, the program is terminated and the following message is displayed.

Re: [Lazarus] ComboBox Bug

2011-06-24 Thread David Copeland
On Fri, 2011-06-24 at 18:22 +0200, Mattias Gaertner wrote: function.) It works here. Please test with ./CBBug --sync And please test with some other themes to make sure it is a LCL bug and not a buggy gtk theme engine. Finally test with another window manager (do not confuse it with

Re: [Lazarus] Drawing angle boundaries

2011-06-24 Thread Leonardo M . Ramé
On 2011-06-25 01:03:42 +1100, Alexander Klenin wrote: 2011/6/23 Leonardo M. Ramé l.r...@griensu.com: Hi, I need to draw the angle(s) formed by any given four points. You can also look at TBGRABitmap. Even if it currently does not support drawing arbitrary arcs, may the author (circular on

Re: [Lazarus] ComboBox Bug

2011-06-24 Thread David Copeland
On Fri, 2011-06-24 at 18:22 +0200, Mattias Gaertner wrote: Please test with ./CBBug --sync No change, same problem. And please test with some other themes to make sure it is a LCL bug and not a buggy gtk theme engine. I found a way to change the GTK Style. It was oxygen-gtk. When I change

Re: [Lazarus] ComboBox Bug

2011-06-24 Thread Mattias Gaertner
On Fri, 24 Jun 2011 13:22:49 -0400 David Copeland david.copel...@jsidata.ca wrote: On Fri, 2011-06-24 at 18:22 +0200, Mattias Gaertner wrote: Please test with ./CBBug --sync No change, same problem. And please test with some other themes to make sure it is a LCL bug and not a buggy

Re: [Lazarus] ComboBox Bug

2011-06-24 Thread David Copeland
On Fri, 2011-06-24 at 19:41 +0200, Mattias Gaertner wrote: Then you found a buggy gtk theme. I don't know, if the LCL gtk2 interface can work around this. What Linux distribution is this? openSuse 11.4. -- ___ Lazarus mailing list

Re: [Lazarus] Compile and Build menu entries, Run- or Project-menu?

2011-06-24 Thread waldo kitty
On 6/23/2011 10:21, michael.vancann...@wisa.be wrote: On Thu, 23 Jun 2011, Juha Manninen wrote: This one is a matter of opinion and habbit. I like the new order because I never use Build myself. I hit Run and the project is built automatically. Why would someone want to build a project without

Re: [Lazarus] Can't compile WinCE app

2011-06-24 Thread Tommi Prami
On 24.6.2011 10:10, Björn Schreiber wrote: Hi. Perhaps the same problem as mentioned in the forum: http://lazarus.freepascal.org/index.php/topic,13118.0.html hth, Björn Checked then and made way too long reply there, but basically I did following : 1. Build up Unoptimized IDE with

Re: [Lazarus] ComboBox Bug

2011-06-24 Thread zeljko
On Friday 24 of June 2011 19:51:35 David Copeland wrote: On Fri, 2011-06-24 at 19:41 +0200, Mattias Gaertner wrote: Then you found a buggy gtk theme. I don't know, if the LCL gtk2 interface can work around this. What Linux distribution is this? openSuse 11.4. There's a lot of bugs in

Re: [Lazarus] non-sensical window repositioning

2011-06-24 Thread zeljko
On Friday 24 of June 2011 14:57:15 Felipe Monteiro de Carvalho wrote: On Fri, Jun 24, 2011 at 2:46 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: For full screen see here: http://wiki.lazarus.freepascal.org/Application_full_screen_mode I think we should implement that in the LCL.

[Lazarus] TCustomListView new features

2011-06-24 Thread zeljko
Hi all, I was sick of writing Item.Delete, Item.Create etc.. when want to exchange items or just move item to another row in list. I've added TCustomListView.Items.Exchange(index1, index2) and TCustomListView.Items.Move(FromIndex, ToIndex). All widgetsets except carbon are implemented, so feel