TPageControl(100分)

  • 主题发起人 主题发起人 abchjb
  • 开始时间 开始时间
A

abchjb

Unregistered / Unconfirmed
GUEST, unregistred user!
How can I change the color of the pagecontrol header?
thanks!!!!
 
There is an OwnerDraw property in the TPageControl. To change the
color of the tab, you can set the OwnerDraw property to true and then
write the OnDrawTab Event.
 
Tab和Pagecontrol用 法 ,看看 HELP吧,那儿有说明
 
Hehe, I just open my Delphi4 to test this problem.
Yeah, I find you can place a Panel to be the container of
the pagecontrol, then
set the "ownerdraw" property of your
pagecontrol to be true, the pagecontrol will change its
color as you changing the color of your panel. However,
the tab text also disappears, :(.
So you would better response to "OnDrawTab" event to draw
the text, :(.
 
you can find many components at www.torry.ru or vcl.vclxx.com
cando
it.
 
忘了一句:我常用的是cc95.zip
非常不错:
可纵排,Color可变,很多新特性
你需要可以给我mail
 
多人接受答案了。
 

Similar threads

A
回复
0
查看
943
Andreas Hausladen
A
A
回复
0
查看
819
Andreas Hausladen
A
A
回复
0
查看
620
Andreas Hausladen
A
A
回复
0
查看
992
Andreas Hausladen
A
A
回复
0
查看
479
Andreas Hausladen
A
后退
顶部