Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi GlassFrame and controls in window (https://www.delphipraxis.net/162145-glassframe-controls-window.html)

WojTec 9. Aug 2011 11:20

Delphi-Version: 2010

GlassFrame and controls in window
 
I have normal window in application where can set some options. Now I want to make it more "trendy" and I enbled GlassFrame.SheetOfGlass. Unfortunately near all strings (except lists) now are semi-transparent :shock: Is possible to fix it?

jaenicke 9. Aug 2011 12:56

AW: GlassFrame and controls in window
 
This is the correct behavior, because otherwise it would not look good.

But you have to set DoubleBuffered (of the form) to True and GlowSize of your labels to 5 (or another appropriate value). ;-)

This way the letters are visible and have the glow effect to be better readable.

WojTec 9. Aug 2011 14:23

Re: GlassFrame and controls in window
 
Now look not good too. After DoubleBuffered strings are not transparent, but controls are not drawed correctly, for example page control has black background where are tabs and buttons are not rounded (in normal windows they looks to be rounded a bit). Maybe there are required another components instead the ones from Delphi?

jaenicke 9. Aug 2011 20:27

AW: GlassFrame and controls in window
 
Liste der Anhänge anzeigen (Anzahl: 2)
You have to set DoubleBuffered to False on Controls which do not support it. So it has to be False for a PageControl, but True for the form and a button for example.

Here you see how it looks, I appended the project too:

Anhang 34859

silver-moon-2000 9. Aug 2011 21:12

AW: GlassFrame and controls in window
 
[OT]
sorry to come barging in like that...

that arrow near the minimize button in your screenshot... where does that come from?
Could it be Ultramon? If so, is it any good?
[/OT]

jaenicke 10. Aug 2011 04:40

AW: GlassFrame and controls in window
 
Zitat:

Zitat von silver-moon-2000 (Beitrag 1115876)
[OT]that arrow near the minimize button in your screenshot... where does that come from?
[/OT]

This is from TeamViewer, a remote control software. ;-)

Ultramon would be useful for me, because it allows to move the window from one monitor to another if my second or third monitor is off. So I can fetch the window from there. I just have to disable the additional taskbar in the setup, because otherwise I can't reach these windows.

Unfortunately there is no standard for additional buttons, so they interfere with teamviewer's at the same position... (But all are useable though.)


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:58 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz