![]() |
Paint error using Ribbon |
Post Reply ![]() |
Author | |
Jairo ![]() Newbie ![]() ![]() Joined: 15 January 2004 Location: Brazil Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 09 August 2007 at 3:20pm |
Hi all,
I thing that there is a bug in CommandBars 11.1.3 using Ribbon theme.
Use the steps below to reproduce the error:
1. Create a MDIForm;
2. Put a CommandBars control inside MDIForm;
3. Cut and past the code below;
4. Run the prog. After press the Ok button, click in title bar. Look at The Minimize, Maximize and Close buttons.
5. This always happen if use Me.Caption = "Test MDI Form"
6. I need to change the Caption of the MDIForm in my project in code. Please somebody know a workaround? Private Sub MDIForm_Load()
Set RibbonBar = CommandBars1.AddRibbonBar("The Ribbon") RibbonBar.EnableFrameTheme Me.Caption = "Test MDI Form" Me.Show MsgBox "After this message, click on title bar and see the error paint" End Sub |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Yes it was discussed in this forum already .
Form.Caption property also restores styles of frame. Please use API SetWindowText instead.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |