On Sun, 6 Apr 2014, Bart wrote:
On 4/6/14, Michael Van Canneyt mich...@freepascal.org wrote:
The old design was a poor one
Well, it used what was available at the time in the LCL,
which was not much compared to what can be done today :)
Well, maybe that was frased a little crude, but no
On 04/06/2014 09:50 PM, Marc Santhoff wrote:
floating
Bells ringing Firemonkey :-) ?
-Michael
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Hi.
I'am creating an graphics control and I need Canvas to set control
Height. But I can draw (access to Canvas) only in OnPaint event.
How to solve this problem?
Thanks
Petr
--
Petr Kristan
.
EPOS PRO s.r.o., Smilova 333, 530 02 Pardubice
tel: +420 461101401Czech Republic (Eastern
On 04/07/2014 11:01 AM, Petr Kristan wrote:
Hi.
I'am creating an graphics control and I need Canvas to set control
Height. But I can draw (access to Canvas) only in OnPaint event.
How to solve this problem?
You need to set height of control by calculating text height out of
paint event ?
Hi,
you can do measurement in overriden CreateWnd, Canvas already exists there.
Blaazen
__
Od: Petr Kristan petr.kris...@epos.cz
Komu: lazarus@lists.lazarus.freepascal.org
Datum: 07.04.2014 11:03
Předmět: [Lazarus] Custom
On 06/04/2014 21:34, Graeme Geldenhuys wrote:
snip
I don't use TDataset, so might get the terminology wrong, so bare with
me.
I know summer is theoretically coming to the UK The Netherlands, but
this may be going too far ;)
Apart from that, having some kind of wizard that provides this
On Mon, Apr 07, 2014 at 11:11:28AM +0200, zeljko wrote:
On 04/07/2014 11:01 AM, Petr Kristan wrote:
Hi.
I'am creating an graphics control and I need Canvas to set control
Height. But I can draw (access to Canvas) only in OnPaint event.
How to solve this problem?
You need to set height
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
--
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:
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
On 2014-04-07 11:16, Reinier Olislagers wrote:
I know summer is theoretically coming to the UK The Netherlands, but
this may be going too far ;)
Oops, minor typo - with a totally different outcome! :-D
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
On 2014-04-07 11:16, Reinier Olislagers wrote:
Apart from that, having some kind of wizard that provides this
functionality would be nice, yes.
I just tested with Lazarus. That functionality I describe with Delphi,
doesn't work in Lazarus IDE.
Regards,
- Graeme -
--
fpGUI Toolkit - a
12 matches
Mail list logo