Re: [Lazarus] TEditButton alignment

2013-03-19 Thread Flávio Etrusco
On Mon, Mar 18, 2013 at 6:51 PM, Juha Manninen juha.mannine...@gmail.com wrote: On Mon, Mar 18, 2013 at 11:41 PM, Flávio Etrusco flavio.etru...@gmail.com wrote: I had a patch which fixed alignment problems (I know of) by making the margin calculation virtual and placing the button inside/over

Re: [Lazarus] Labels and Font size

2013-03-19 Thread Sven Barth
Am 18.03.2013 19:58 schrieb Mattias Gaertner nc-gaert...@netcologne.de: On Mon, 18 Mar 2013 18:50:23 + Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-03-18 16:39, Jürgen Hestermann wrote: What I just found is that this is influenced by the Windows font size settings. It

Re: [Lazarus] TEditButton alignment

2013-03-19 Thread Mattias Gaertner
On Tue, 19 Mar 2013 03:22:51 -0300 Flávio Etrusco flavio.etru...@gmail.com wrote: Nice idea. This is the important part: + { TEditButtonSpacing } + + TEditButtonSpacing = class(TControlBorderSpacing) + public +constructor Create(OwnerControl: TCustomEditButton); +procedure

[Lazarus] Should TTrayIcon work?

2013-03-19 Thread Tommi Prami
HEllo, I call TTrayIcon.Show at the Main Form OnCreate event. I shows OK, and as latest effort also the menu appears, but none of the Click events comes to the my program. Click, Do8uble Click and also the Menu Click Event are not fired. What could cause this, or is the TTrayIcon still in

Re: [Lazarus] TEditButton alignment

2013-03-19 Thread Juha Manninen
On Tue, Mar 19, 2013 at 8:22 AM, Flávio Etrusco flavio.etru...@gmail.com wrote: It was something like this (patch attached). It does not compile here. It complains about BiDiMode in TEditButtonSpacing.GetSpaceAround. Juha -- ___ Lazarus mailing list

Re: [Lazarus] Labels and Font size

2013-03-19 Thread Mattias Gaertner
On Tue, 19 Mar 2013 07:53:29 +0100 Sven Barth pascaldra...@googlemail.com wrote: [...] It would at least be nice (if it doesn't exist already) that a readonly DesignDPI property is added to the forms and frames? For a WinCE application where I need to support different DPIs I'm hardcoding my

[Lazarus] Request to add help menu by committing patch

2013-03-19 Thread Reinier Olislagers
Hi Lazarus devs, Could any of you please commit the patch in http://bugs.freepascal.org/view.php?id=23411 This will add a help menu item that will show the chm/offline help that is now standard. The menu command then opens lhelp as usual and opens all chm files, just as if you had asked for

[Lazarus] Lazarus 1.0.8 Release

2013-03-19 Thread Mattias Gaertner
The Lazarus team is glad to announce the release of Lazarus 1.0.8. This is a bug fix release, built with the new fpc 2.6.2. The previous release 1.0.6 was built with 2.6.0. Here is the list of changes for Lazarus and Free Pascal:

Re: [Lazarus] Should TTrayIcon work?

2013-03-19 Thread Felipe Monteiro de Carvalho
Click works for me. And the Menu too (thats not an event, it is a property), since many years. Or else the application in magnifier.sourceforge.net would not work. You could download it and see if its tray icon works in your system, I suppose it will and prove that the click and menu both work.

Re: [Lazarus] TEditButton alignment

2013-03-19 Thread Graeme Geldenhuys
On 2013-03-18 22:38, Mattias Gaertner wrote: Is there a bug report? I think I reported them, I'll have to search Mantis. It's been a while back. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ --

[Lazarus] Lazarus update

2013-03-19 Thread Chavoux Luyt
Hi guys I am still running lazarus v.1.0 RC, basically because I installed a bunch of components (mostly 3D - GLScene, OpenGL, etc) and I can no longer remember which ones came as part of Lazarus and which ones I had to install myself (I am also a bit afraid that updating lazarus and fpc might

[Lazarus] Compile project release with LCL custom optimization

2013-03-19 Thread Zaher Dirkey
Hi, I like when release my project to compile all components and LCL with special options like change the optimization for example to make the best file execute. Is it possible and how when i am using LazBuild in command line? I already have mode Release with that options, but not sure it take

Re: [Lazarus] Lazarus update

2013-03-19 Thread Luca Olivetti
Al 19/03/13 11:54, En/na Chavoux Luyt ha escrit: Is there any way to record all currently installed components (Lazarus inbuilt and self-installed) and automatically re-install them when updating Lazarus? Try make help, specifically this snippet: Updating svn and build an IDE with your last

Re: [Lazarus] Lazarus update

2013-03-19 Thread Luca Olivetti
Al 19/03/13 12:39, En/na Luca Olivetti ha escrit: Al 19/03/13 11:54, En/na Chavoux Luyt ha escrit: Is there any way to record all currently installed components (Lazarus inbuilt and self-installed) and automatically re-install them when updating Lazarus? Try make help, specifically this

Re: [Lazarus] Request to add help menu by committing patch

2013-03-19 Thread Reinier Olislagers
On 19-3-2013 9:42, Reinier Olislagers wrote: Could any of you please commit the patch in http://bugs.freepascal.org/view.php?id=23411 This will add a help menu item that will show the chm/offline help that is now standard. The menu command then opens lhelp as usual and opens all chm files,

Re: [Lazarus] Lazarus update

2013-03-19 Thread leledumbo
Is there any way to record all currently installed components (Lazarus inbuilt and self-installed) and automatically re-install them when updating Lazarus? Lazarus doesn't distinguish components you add manually and the ones that come with it. So you have to keep track yourself. I put

Re: [Lazarus] Should TTrayIcon work?

2013-03-19 Thread Tommi Prami
On 19.3.2013 11:44, Felipe Monteiro de Carvalho wrote: Click works for me. And the Menu too (thats not an event, it is a property), since many years. Or else the application in magnifier.sourceforge.net would not work. You could download it and see if its tray icon works in your system, I

Re: [Lazarus] TEditButton alignment

2013-03-19 Thread Vojtěch Čihák
Hello,   I tested the patch from Flávio + correction from Juha in Linux+Qt. Anchoring now works well (especially right anchoring).   I tested it also as a grid cell editor:   procedure TForm1.StringGrid1SelectEditor(Sender: TObject; aCol, aRow: Integer; var Editor: TWinControl); var aRect:

Re: [Lazarus] Lazarus update

2013-03-19 Thread Mattias Gaertner
Chavoux Luyt chav...@gmail.com hat am 19. März 2013 um 11:54 geschrieben: Hi guys I am still running lazarus v.1.0 RC, basically because I installed a bunch of components (mostly 3D - GLScene, OpenGL, etc) and I can no longer remember which ones came as part of Lazarus and which ones I

Re: [Lazarus] Lazarus update

2013-03-19 Thread Chavoux Luyt
Hi Mattias Thanks... that looks really easy! I just want to confirm that this will work the same when I install from .deb file instead of compiling from source? Cheers Chavoux -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Lazarus update

2013-03-19 Thread Mattias Gaertner
Chavoux Luyt chav...@gmail.com hat am 19. März 2013 um 14:02 geschrieben: Hi Mattias Thanks... that looks really easy! I just want to confirm that this will work the same when I install from .deb file instead of compiling from source? It should (TM). http://i.imgur.com/HuVXfMb.gif

Re: [Lazarus] Lazarus update

2013-03-19 Thread Curt Carpenter
Congratulations to the team on the new release. I confess that I share Chavoux Luyt's fears about updating, especially since I use FPC/Lazarus on three different platforms (and don't really know what I'm doing on two of them :-) (OK -- all of them.) Is there a wiki on Updating For Idiots?

Re: [Lazarus] TEditButton alignment

2013-03-19 Thread Juha Manninen
On Tue, Mar 19, 2013 at 2:12 PM, Vojtěch Čihák vojtech.ci...@atlas.cz wrote: There only one issue: If I click button of stand-alone EditButton then the Edit part keeps focus. If I click button of cell-editor EditButton then the Edit part losts focus. There remains another problem. The button

Re: [Lazarus] Linux service

2013-03-19 Thread Antonio Fortuny
I finally succeded to manage the service. The basic developmment done in WIN32 has been preserved. I've now a unique source project compiling and running on WIN32 and LINUX. So far, so good. There is only one thing which worries me: when stopping the service (aka service ipserviced stop) the

Re: [Lazarus] Lazarus update

2013-03-19 Thread leledumbo
Is there a wiki on Updating For Idiots? AFAIK no, feel free to create one. Anyway, when you're able to program, you shouldn't be included in idiots group anymore... -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Lazarus-update-tp4029944p4029960.html

Re: [Lazarus] Linux service

2013-03-19 Thread Antonio Fortuny
Le 19/03/2013 16:52, Antonio Fortuny a écrit : I finally succeded to manage the service. The basic developmment done in WIN32 has been preserved. I've now a unique source project compiling and running on WIN32 and LINUX. So far, so good. There is only one thing which worries me: when stopping

Re: [Lazarus] Linux service

2013-03-19 Thread Michael Van Canneyt
On Tue, 19 Mar 2013, Antonio Fortuny wrote: Le 19/03/2013 16:52, Antonio Fortuny a écrit : I finally succeded to manage the service. The basic developmment done in WIN32 has been preserved. I've now a unique source project compiling and running on WIN32 and LINUX. So far, so good. There is

Re: [Lazarus] Should TTrayIcon work?

2013-03-19 Thread Tommi Prami
On 19.3.2013 11:44, Felipe Monteiro de Carvalho wrote: Click works for me. And the Menu too (thats not an event, it is a property), since many years. Or else the application in magnifier.sourceforge.net would not work. You could download it and see if its tray icon works in your system, I

[Lazarus] Visual Form Inheritance from Package.

2013-03-19 Thread Donald Ziesig
Hi All! I have some base forms that I am using successfully in several projects. I decided to put the common code into a package, including the base forms. Unfortunately, when I try to inherit from them they do not appear in the list New | Inherited Project Component, even though the