 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
FrankW Guest
|
Posted: Thu Oct 26, 2006 8:12 am Post subject: using ThemeManager in D5 |
|
|
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
|
Posted: Thu Oct 26, 2006 8:12 am Post subject: Re: using ThemeManager in D5 |
|
|
"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
|
Posted: Thu Oct 26, 2006 2:42 pm Post subject: Re: using ThemeManager in D5 |
|
|
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
|
Posted: Thu Oct 26, 2006 3:17 pm Post subject: Re: using ThemeManager in D5 |
|
|
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 |
|
 |
|
|
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
|
|