![]() |
How to change DialogBar Caption Fonr Color |
Post Reply ![]() |
Author | |
Bernie ![]() Senior Member ![]() ![]() Joined: 05 July 2007 Location: Taiwan Status: Offline Points: 109 |
![]() ![]() ![]() ![]() ![]() Posted: 20 July 2007 at 12:56am |
I created a DialogBar with the following code.
Two silly questions because I am a newbie:
1) How to change the Caption Font ForeColor but not to "effect" other controls' in the same CommandBars?
2) Why is there no Event provided for DialogBar?
In other words, I am not allowed to Declare a Dialog Variable together with "WithEvents"
Private Dialog As DialogBar
Sub Form_Load()
Set Dialog = CommandBars1.AddDialogBar("答案卷", xtpBarRight)
With Dialog .Closeable = False .Resizable = True .ShowGripper = False .EnableAnimation = True .ChildHandle = frmAnswerSheet.hWnd .SetSize 270, 100 End With |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Yes, DialogBar doesn't have events. What events do you need ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Bernie ![]() Senior Member ![]() ![]() Joined: 05 July 2007 Location: Taiwan Status: Offline Points: 109 |
![]() ![]() ![]() ![]() ![]() |
Thanks for quick response. I need some mouseevents to detect the moves of mouse entering or leaving the area of the dialogbar and when users Click on the Caption Popupmenu, as well as the move while the assigned control changed. Can't I change the Caption Font ForeColor?
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |