Re: [Lazarus] Large toolbar buttons
On 6 April 2014 21:03, Vojtěch Čihák vojtech.ci...@atlas.cz wrote: Hi, there are two ShowCaption properties. One TToolButton.ShowCaption and the second TToolBar.ShowCaption. Also, there is TToolBar.ButtonHeight when you need large buttons. Ah, that was it :) Thanks -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Large toolbar buttons
Hi, thinking about it, if now someone wants display Caption, he must: -set ToolBar.ShowCaptions to True -set ToolButton.ShowCaption to True -set some Caption Isn't it to much? Isn't assigning any Caption enough? I thought it is because of Delphi compatibility but looking to their docs: http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/!!MEMBERTYPE_Properties_ComCtrls_TToolButton.html seems that Delphi has no ToolBar.ShowCaption, so it is Lazarus invention. Is there any reason for this property? If no, I suggest to mark it as deprecated. Thanks Blaazen __ Od: Richard Mace richard.m...@gmail.com Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Datum: 07.04.2014 17:49 Předmět: Re: [Lazarus] Large toolbar buttons On 6 April 2014 21:03, Vojtěch Čihák vojtech.ci...@atlas.cz vojtech.ci...@atlas.cz wrote: Hi, there are two ShowCaption properties. One TToolButton.ShowCaption and the second TToolBar.ShowCaption. Also, there is TToolBar.ButtonHeight when you need large buttons. Ah, that was it :) Thanks -- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Large toolbar buttons
On Mon, 07 Apr 2014 19:43:24 +0200 Vojtěch Čihák vojtech.ci...@atlas.cz wrote: Hi, thinking about it, if now someone wants display Caption, he must: -set ToolBar.ShowCaptions to True -set ToolButton.ShowCaption to True ToolButton.ShowCaption is True by default, so you don't need to set it. -set some Caption Isn't it to much? You only need to set ShowCaptions and Captions. Isn't assigning any Caption enough? I thought it is because of Delphi compatibility but looking to their docs: http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/!!MEMBERTYPE_Properties_ComCtrls_TToolButton.html seems that Delphi has no ToolBar.ShowCaption, so it is Lazarus invention. Is there any reason for this property? If no, I suggest to mark it as deprecated. The idea is that some button captions can be hidden. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Large toolbar buttons
Thanks Mattias, I was wondering what the best component was for a tool bar with large buttons and images on. I am trying to use the TToolbar component, however, it doesn't seem to display captions and I can't seem to get the buttons to be bigger than 16x16? Any ideas? Change the ImageList's Width and Height. When I change the ImageLists's Height and Width it clears all of the current images, I presume that because I have to add larger images in now? Also, when do the captions get displayed? Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Large toolbar buttons
On Sun, 6 Apr 2014 07:49:52 +0100 Richard Mace richard.m...@gmail.com wrote: [...] When I change the ImageLists's Height and Width it clears all of the current images, I presume that because I have to add larger images in now? Yes. Also, when do the captions get displayed? Have you tried ShowCaptions? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Large toolbar buttons
On 6 April 2014 08:21, Mattias Gaertner nc-gaert...@netcologne.de wrote: Also, when do the captions get displayed? Have you tried ShowCaptions? Yes, I have. The buttons are linked to Actions so not sure if that makes any difference? Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Large toolbar buttons
On Sun, 6 Apr 2014 10:35:11 +0100 Richard Mace richard.m...@gmail.com wrote: On 6 April 2014 08:21, Mattias Gaertner nc-gaert...@netcologne.de wrote: Also, when do the captions get displayed? Have you tried ShowCaptions? Yes, I have. The buttons are linked to Actions so not sure if that makes any difference? If you set Caption to '' then there is no text. Check also ShowCaption of the button. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Large toolbar buttons
If you set Caption to '' then there is no text. Check also ShowCaption of the button. The caption is set to Add user and the ShowCaption is set to true, but it's still not showing the text on the button? Thanks Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Large toolbar buttons
On Sun, 6 Apr 2014 20:47:09 +0100 Richard Mace richard.m...@gmail.com wrote: If you set Caption to '' then there is no text. Check also ShowCaption of the button. The caption is set to Add user and the ShowCaption is set to true, but it's still not showing the text on the button? What happens when you add another toolbar, set ShowCaptions to true and add a button? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Large toolbar buttons
Hi, there are two ShowCaption properties. One TToolButton.ShowCaption and the second TToolBar.ShowCaption. Also, there is TToolBar.ButtonHeight when you need large buttons. Blaazen __ Od: Richard Mace richard.m...@gmail.com Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Datum: 06.04.2014 21:47 Předmět: Re: [Lazarus] Large toolbar buttons If you set Caption to '' then there is no text. Check also ShowCaption of the button. The caption is set to Add user and the ShowCaption is set to true, but it's still not showing the text on the button?ThanksRichard -- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Large toolbar buttons
Hi, there are two ShowCaption properties. One TToolButton.ShowCaption and the second TToolBar.ShowCaption. Also, there is TToolBar.ButtonHeight when you need large buttons. Blaazen __ Od: Richard Mace richard.m...@gmail.com Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Datum: 06.04.2014 21:47 Předmět: Re: [Lazarus] Large toolbar buttons If you set Caption to '' then there is no text. Check also ShowCaption of the button. The caption is set to Add user and the ShowCaption is set to true, but it's still not showing the text on the button?ThanksRichard -- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Large toolbar buttons
Hi All, I was wondering what the best component was for a tool bar with large buttons and images on. I am trying to use the TToolbar component, however, it doesn't seem to display captions and I can't seem to get the buttons to be bigger than 16x16? Any ideas? Thanks, as always in advance. Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Large toolbar buttons
On Sat, 5 Apr 2014 21:41:07 +0100 Richard Mace richard.m...@gmail.com wrote: Hi All, I was wondering what the best component was for a tool bar with large buttons and images on. I am trying to use the TToolbar component, however, it doesn't seem to display captions and I can't seem to get the buttons to be bigger than 16x16? Any ideas? Change the ImageList's Width and Height. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus