AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

GlassFrame and controls in window

Ein Thema von WojTec · begonnen am 9. Aug 2011 · letzter Beitrag vom 10. Aug 2011
Antwort Antwort
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#1

GlassFrame and controls in window

  Alt 9. Aug 2011, 11:20
Delphi-Version: 2010
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 Is possible to fix it?
  Mit Zitat antworten Zitat
Benutzerbild von jaenicke
jaenicke

Registriert seit: 10. Jun 2003
Ort: Berlin
9.345 Beiträge
 
Delphi 11 Alexandria
 
#2

AW: GlassFrame and controls in window

  Alt 9. Aug 2011, 12:56
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.
Sebastian Jänicke
Alle eigenen Projekte sind eingestellt, ebenso meine Homepage, Downloadlinks usw. im Forum bleiben aktiv!
  Mit Zitat antworten Zitat
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#3

Re: GlassFrame and controls in window

  Alt 9. Aug 2011, 14:23
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?
  Mit Zitat antworten Zitat
Benutzerbild von jaenicke
jaenicke

Registriert seit: 10. Jun 2003
Ort: Berlin
9.345 Beiträge
 
Delphi 11 Alexandria
 
#4

AW: GlassFrame and controls in window

  Alt 9. Aug 2011, 20:27
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:

sheetofglass.png
Angehängte Dateien
Dateityp: zip sheetofglass.zip (540,0 KB, 27x aufgerufen)
Sebastian Jänicke
Alle eigenen Projekte sind eingestellt, ebenso meine Homepage, Downloadlinks usw. im Forum bleiben aktiv!
  Mit Zitat antworten Zitat
silver-moon-2000

Registriert seit: 18. Feb 2007
Ort: Schweinfurt
170 Beiträge
 
Delphi XE Professional
 
#5

AW: GlassFrame and controls in window

  Alt 9. Aug 2011, 21:12
[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]
Tobias
Bitte nicht hauen , ich weiß es nicht besser
  Mit Zitat antworten Zitat
Benutzerbild von jaenicke
jaenicke

Registriert seit: 10. Jun 2003
Ort: Berlin
9.345 Beiträge
 
Delphi 11 Alexandria
 
#6

AW: GlassFrame and controls in window

  Alt 10. Aug 2011, 04:40
[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.)
Sebastian Jänicke
Alle eigenen Projekte sind eingestellt, ebenso meine Homepage, Downloadlinks usw. im Forum bleiben aktiv!

Geändert von jaenicke (10. Aug 2011 um 04:51 Uhr)
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:14 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