Discussion:
Delphj 2007: Speedbuttons
(too old to reply)
Hubert Anemaat
2007-08-18 11:29:33 UTC
Permalink
Hello,

In Delphi 2007 my Speedbuttons in a Toolbar have a vertical line in the
middle of this button in a project that is coming from Delphi 6 as I
mentioned in this newsgroup a few weeks ago.

The speedbuttons are flat and have edge lines.
When I create a new project in Delphi 2007 the speedbuttons have no edge
lines and no vertical line in the middle.

When I open this Delphi 2007 created form and unit in my Delphi 6
project, these speedbuttons have suddenly border lines and a vertical
line in the middle.

The border lines are fine, but how can I erase the vertical line in the
middle of the flat speedbutton ?

Thanks,

Hubert Anemaat
Hubert Anemaat
2007-08-20 15:04:31 UTC
Permalink
Hello,

The problem is 'solved' when I enable Project Options: Application:
"Enable runtime themes". The vertical lines in the Speedbuttons are now
vanished.
I had also the problem with TButton en TBitBtn: TButton has a flat
lay-out and the TBitBtn has a classic layout.

How can I change TButton to the classic layout and the Speedbutton
without the vertical line ?

Thanks,

Hubert Anemaat
Post by Hubert Anemaat
Hello,
In Delphi 2007 my Speedbuttons in a Toolbar have a vertical line in the
middle of this button in a project that is coming from Delphi 6 as I
mentioned in this newsgroup a few weeks ago.
The speedbuttons are flat and have edge lines.
When I create a new project in Delphi 2007 the speedbuttons have no edge
lines and no vertical line in the middle.
When I open this Delphi 2007 created form and unit in my Delphi 6
project, these speedbuttons have suddenly border lines and a vertical
line in the middle.
The border lines are fine, but how can I erase the vertical line in the
middle of the flat speedbutton ?
Thanks,
Hubert Anemaat
Liz
2007-08-20 21:58:25 UTC
Permalink
Post by Hubert Anemaat
Hello,
"Enable runtime themes". The vertical lines in the Speedbuttons are
TButton has a flat lay-out and the TBitBtn has a classic layout.
How can I change TButton to the classic layout and the Speedbutton
without the vertical line ?
Mine dont have them so unless theres a corrupt file, Im thinking its
driver related, or something
--
Liz the Brit
Delphi things I have released: http://www.xcalibur.co.uk/DelphiThings
Hubert Anemaat
2007-08-21 13:23:04 UTC
Permalink
Hello Liz,

When running the application.exe, all buttons are classic when Themes
are disabled and all buttons are flat when Themes are enabled.

When I disable the Embedded designer, the TButton is in Themes mode and
the TSpeedbutton and the TBitBtn are in classic mode in Delphi.
In the executable the lay-outs of the buttons are OK except for the
vertical lines in the middle of the TSpeedButtons when the Themes are
disabled.

Hubert Anemaat
Post by Liz
Post by Hubert Anemaat
Hello,
"Enable runtime themes". The vertical lines in the Speedbuttons are
TButton has a flat lay-out and the TBitBtn has a classic layout.
How can I change TButton to the classic layout and the Speedbutton
without the vertical line ?
Mine dont have them so unless theres a corrupt file, Im thinking its
driver related, or something
Liz
2007-08-21 15:05:10 UTC
Permalink
Post by Hubert Anemaat
Hello Liz,
When running the application.exe, all buttons are classic when Themes
are disabled and all buttons are flat when Themes are enabled.
When I disable the Embedded designer, the TButton is in Themes mode
and the TSpeedbutton and the TBitBtn are in classic mode in Delphi.
In the executable the lay-outs of the buttons are OK except for the
vertical lines in the middle of the TSpeedButtons when the Themes are
disabled.
Yes, but does this apply to every machine you run the exe on or just
your dev box?
--
Liz the Brit
Delphi things I have released: http://www.xcalibur.co.uk/DelphiThings
Hubert Anemaat
2007-08-23 08:17:28 UTC
Permalink
Hello Liz,

I first installed Delphi 2007 on my HP laptop to test it. My laptop has
an Intel Video chip.
Last week I installed it on my development PC. This HP XW4400 has an
NVIDIA video card.

Both PC's displays the Speedbutton with a vertical center line when the
Themes mode is disabled. The standalone application also shows this line
on other PC's without Delphi 2007.

Hubert Anemaat
Post by Liz
Post by Hubert Anemaat
Hello Liz,
When running the application.exe, all buttons are classic when Themes
are disabled and all buttons are flat when Themes are enabled.
When I disable the Embedded designer, the TButton is in Themes mode
and the TSpeedbutton and the TBitBtn are in classic mode in Delphi.
In the executable the lay-outs of the buttons are OK except for the
vertical lines in the middle of the TSpeedButtons when the Themes are
disabled.
Yes, but does this apply to every machine you run the exe on or just
your dev box?
Liz
2007-08-23 15:10:01 UTC
Permalink
Post by Hubert Anemaat
Hello Liz,
I first installed Delphi 2007 on my HP laptop to test it. My laptop
has an Intel Video chip. Last week I installed it on my development
PC. This HP XW4400 has an NVIDIA video card.
Both PC's displays the Speedbutton with a vertical center line when
the Themes mode is disabled. The standalone application also shows
this line on other PC's without Delphi 2007.
OK so that implies your machine thats compiling is compiling it into
the exe..

Id go with some corruption somehow on your dev box
--
Liz the Brit
Delphi things I have released: http://www.xcalibur.co.uk/DelphiThings
Loading...