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 

using ThemeManager in D5

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





PostPosted: Thu Oct 26, 2006 8:12 am    Post subject: using ThemeManager in D5 Reply with quote



Hi,

I'm trying the Soft Gems' ThemeManager in Delphi 5, in the main form I put
a TthemeManager, and in the Form2 I put a TBitButton, the main form will pop
up Form2, here is my test result:

A) if form2 is autocreated, the BitButton was in XP style.
B) if form2 is not autocreated, the bitbutton does not have XP theme.

Why?

I tried to load the demo, ThemeExplorer, but got an error that testframe.pas
not found. I tried to register in Soft Gems' forum to ask question, but
registration always fail due to an error in the form.

Thanks for any help,

FrankW
Back to top
Nathanial Woolls
Guest





PostPosted: Thu Oct 26, 2006 8:12 am    Post subject: Re: using ThemeManager in D5 Reply with quote



"FrankW" <nospam (AT) nospam (DOT) com> wrote in message
news:45404999$1 (AT) newsgroups (DOT) borland.com...

Quote:
Thanks for any help,


It's been a long, long time, but I remember there's a method you have to
call on forms that are created at runtime, maybe something like
ThemeManager.RegisterForm(AForm) or ThemeForm(AForm) or something along
those lines. Could be a global method as well. Maybe that will get you
going in the right direction.
Back to top
Pan Wen
Guest





PostPosted: Thu Oct 26, 2006 2:42 pm    Post subject: Re: using ThemeManager in D5 Reply with quote



TBitBtn is VCL custom-draw button, XP can do nothing with it.
Delphi7 rewrite VCL code about TBitBtn, so it paint TBitBtn with XP theme
style.

Pan
Vclskin: http://www.link-rank.com

"FrankW" <nospam (AT) nospam (DOT) com> wrote in message
news:45404999$1 (AT) newsgroups (DOT) borland.com...
Quote:
Hi,

I'm trying the Soft Gems' ThemeManager in Delphi 5, in the main form I
put a TthemeManager, and in the Form2 I put a TBitButton, the main form
will pop up Form2, here is my test result:

A) if form2 is autocreated, the BitButton was in XP style.
B) if form2 is not autocreated, the bitbutton does not have XP theme.

Why?

I tried to load the demo, ThemeExplorer, but got an error that
testframe.pas not found. I tried to register in Soft Gems' forum to ask
question, but registration always fail due to an error in the form.

Thanks for any help,

FrankW
Back to top
Pan Wen
Guest





PostPosted: Thu Oct 26, 2006 3:17 pm    Post subject: Re: using ThemeManager in D5 Reply with quote

ThemeManager support Tbitbtn, it repaint Delphi standard controls with xp
theme style.

pan wen

"FrankW" <nospam (AT) nospam (DOT) com> wrote in message
news:45404999$1 (AT) newsgroups (DOT) borland.com...
Quote:
Hi,

I'm trying the Soft Gems' ThemeManager in Delphi 5, in the main form I
put a TthemeManager, and in the Form2 I put a TBitButton, the main form
will pop up Form2, here is my test result:

A) if form2 is autocreated, the BitButton was in XP style.
B) if form2 is not autocreated, the bitbutton does not have XP theme.

Why?

I tried to load the demo, ThemeExplorer, but got an error that
testframe.pas not found. I tried to register in Soft Gems' forum to ask
question, but registration always fail due to an error in the form.

Thanks for any help,

FrankW
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (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.