BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi 2007 Glass not working for you?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General)
View previous topic :: View next topic  
Author Message
Big Brain
Guest





PostPosted: Thu Apr 05, 2007 1:27 am    Post subject: Delphi 2007 Glass not working for you? Reply with quote



I can't figure it out. Seems simple enough. I installed Delphi 2007,
click set SheetOfGlass to TRUE in the form properties... hit run.


The form is glass.... but none of the text is readable? Anyone else
having this problem? It happens on both of my Vista machines.

All the reviews and blogs show nice looking apps running with glass?
Why are mine so different?
Back to top
Steve
Guest





PostPosted: Thu Apr 05, 2007 3:47 am    Post subject: Re: Delphi 2007 Glass not working for you? Reply with quote



On 5/04/2007 4:27 AM, Big Brain wrote:
Quote:
I can't figure it out. Seems simple enough. I installed Delphi 2007,
click set SheetOfGlass to TRUE in the form properties... hit run.


The form is glass.... but none of the text is readable? Anyone else
having this problem? It happens on both of my Vista machines.

All the reviews and blogs show nice looking apps running with glass?
Why are mine so different?


You are doing nothing wrong. I saw a demo of this late last week. You

have a few hoops to jump through to make the controls look right.

I don't use either of these products (yet) so I can't help you out with
the specifics.

Steve
Back to top
Big Brain
Guest





PostPosted: Thu Apr 05, 2007 8:31 pm    Post subject: Re: Delphi 2007 Glass not working for you? Reply with quote



On Apr 4, 5:47 pm, Steve <no.s...@for.me.no.no.no> wrote:
Quote:
On 5/04/2007 4:27 AM, Big Brain wrote:> I can't figure it out. Seems simple enough. I installed Delphi 2007,
click set SheetOfGlass to TRUE in the form properties... hit run.

The form is glass.... but none of the text is readable? Anyone else
having this problem? It happens on both of my Vista machines.

All the reviews and blogs show nice looking apps running with glass?
Why are mine so different?

You are doing nothing wrong. I saw a demo of this late last week. You
have a few hoops to jump through to make the controls look right.

I don't use either of these products (yet) so I can't help you out with
the specifics.

Steve

Thanks for the heads up. I'm still looking for a Tutorial on this
stuff. It seems Borland has been hitting the propaganda machine
pretty hard. I find all these blogs and reviews that seem to talk
unrelentingly about GREAT Delphi 2007 is.... but so far.... in my
experience: I say "stay away from this pile of crap". So yeah... I
went digging around in the tutorials and found that of all the new
features and additions.... the VERY FEW new features and additions...
were completely neglected in the documentation. The documentation
doesn't even list the GlassFrame property as a member of TCustomForm.
And whereas the TGlassFrame class has a help topic. Each of the
properties/methods of the type class are undocumented... just
placeholers are in place. "This is the ____ property, a member of
TGlassFrame". Great! That helps me!


When will they learn that releasing code before it is ready only
damages the company's long-term value.

It seems like they're still just trying to catch up to the new
standards and doing a completely half-assed job with it. There are
LOTS of things missing that should be there to round out the Vista
experience.
1) Giant Icon Support
2) PNG and Transparency Support
3) "Themed Text" support. This is the glowing text you see in the
glass areas of vista forms that makes it easier to read against some
backgrounds. Kinda important if you're writing a professional
application.
4) Whereas they have a fancy Vista-style progress bar dialog... they
didn't bother to update the standard TProgressbar class with Vista
capabilities (e.g. Marque mode).
5) I'm sure I'll find many many more...
Back to top
Big Brain
Guest





PostPosted: Thu Apr 05, 2007 9:30 pm    Post subject: Re: Delphi 2007 Glass not working for you? Reply with quote

On Apr 5, 10:31 am, "Big Brain" <j...@digitaltundra.com> wrote:
Quote:
On Apr 4, 5:47 pm, Steve <no.s...@for.me.no.no.no> wrote:





On 5/04/2007 4:27 AM, Big Brain wrote:> I can't figure it out. Seems simple enough. I installed Delphi 2007,
click set SheetOfGlass to TRUE in the form properties... hit run.

The form is glass.... but none of the text is readable? Anyone else
having this problem? It happens on both of my Vista machines.

All the reviews and blogs show nice looking apps running with glass?
Why are mine so different?

You are doing nothing wrong. I saw a demo of this late last week. You
have a few hoops to jump through to make the controls look right.

I don't use either of these products (yet) so I can't help you out with
the specifics.

Steve

Thanks for the heads up. I'm still looking for a Tutorial on this
stuff. It seems Borland has been hitting the propaganda machine
pretty hard. I find all these blogs and reviews that seem to talk
unrelentingly about GREAT Delphi 2007 is.... but so far.... in my
experience: I say "stay away from this pile of crap". So yeah... I
went digging around in the tutorials and found that of all the new
features and additions.... the VERY FEW new features and additions...
were completely neglected in the documentation. The documentation
doesn't even list the GlassFrame property as a member of TCustomForm.
And whereas the TGlassFrame class has a help topic. Each of the
properties/methods of the type class are undocumented... just
placeholers are in place. "This is the ____ property, a member of
TGlassFrame". Great! That helps me!

When will they learn that releasing code before it is ready only
damages the company's long-term value.

It seems like they're still just trying to catch up to the new
standards and doing a completely half-assed job with it. There are
LOTS of things missing that should be there to round out the Vista
experience.
1) Giant Icon Support
2) PNG and Transparency Support
3) "Themed Text" support. This is the glowing text you see in the
glass areas of vista forms that makes it easier to read against some
backgrounds. Kinda important if you're writing a professional
application.
4) Whereas they have a fancy Vista-style progress bar dialog... they
didn't bother to update the standard TProgressbar class with Vista
capabilities (e.g. Marque mode).
5) I'm sure I'll find many many more...- Hide quoted text -

- Show quoted text -

Okay I got it working for the most part. But its pretty disappointing
so far. Basically... the hack is that you have to manually set the
Doublebuffered property on any control that is on the glass. This is
not a published property but a PUBLIC property... so you have to write
code to do it (not exactly in the Delphi tradition... no clue why it
is not Published).

BUT THE THING IS.....
1) Not all controls have the DoubleBuffered property.... only
WinControls do.
2) Setting DoubleBuffered does not guarantee that the control will
work on the form. In fact... many common controls DONT look righ on
the glass still including (but not limited to) TMemo and TPanel.
3) TLabel does not Support the doubleBuffered property ironically...
however I was able to get it to paint right strangely by doing a
TextOUT on the formPaint method for some artbitrary text... to my
amazement... the labels painted properly on the form after that.


I feel like Borland could have and should have been able to work a
little bit further through this ugly maze. At least they could set
DoubleBuffered automatically for controls that are placed on the glass
(easy to determine). But at least there's form inheritance to save me
the time.
Back to top
Steve
Guest





PostPosted: Tue Apr 10, 2007 8:11 am    Post subject: Re: Delphi 2007 Glass not working for you? Reply with quote

On 6/04/2007 12:30 AM, Big Brain wrote:
Quote:

Okay I got it working for the most part. But its pretty disappointing
so far.

Check out Marco Cantu's page. It was him (I think) that was discussing
how to make all of this stuff work. From what I recall one of the major
issues is that the normal windows api makes everything on a glass frame
look glass. You need to jump a few hoops where you want things to look
normal (e.g. for a button on a glass part of a form).

http://blog.marcocantu.com

I can't find his code samples on there, maybe he hides them somewhere
else. Might be worth chasing him up.

Steve
Back to top
Big Brain
Guest





PostPosted: Wed May 02, 2007 4:59 am    Post subject: Re: Delphi 2007 Glass not working for you? Reply with quote

On Apr 10, 1:35 am, Steve <no.s...@for.me.no.no.no> wrote:
Quote:
On 6/04/2007 12:30 AM, Big Brain wrote:



Okay I got it working for the most part. But its pretty disappointing
so far.

Check out Marco Cantu's page. It was him (I think) that was discussing
how to make all of this stuff work. From what I recall one of the major
issues is that the normal windows api makes everything on aglassframe
lookglass. You need to jump a few hoops where you want things to look
normal (e.g. for a button on aglasspart of a form).

http://blog.marcocantu.com

I can't find his code samples on there, maybe he hides them somewhere
else. Might be worth chasing him up.

Steve

Well... I've taken upon myself to put up a comprehensive list of
components and rate their performance on glass. The results are
staggeringly disappointing.

http://blog.digitaltundra.com/index.php?op=ViewArticle&articleId=7&blogId=1
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.