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

Reply via email to