Commandbars tabbed mdi mode |
Post Reply |
Author | |
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
Posted: 03 September 2007 at 2:26pm |
I know I have asked this question about a year ago, but perhaps now there any news or workarounds known !
Is there any possiblity to prevent the flickering in a tabbed mdi application when using Commandbars ActiveX control in a .net application ?
The flickering appears e.g. when creating new documents. It is similar to standard behavior of tabbed mdi in Commandbars when using with VB6 but there is a workaround available !!!
Thank you very much
|
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
Hi Oleg,
do you know if there is or will be some solution for this now or in the future ?
Thank you very much
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Do you use EnableGroups option ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
Hi Oleg,
yes ! Do can see the behavior in your MDISample e.g. the VB.NET version !
When you create new mdi child document, the window flushes/flickers before it is displayed in tabbed mode...
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
As same workaround,
For frmDocument change:
StartPosition=Manual
Location=-50,-50
Size=1000,1000
or any values to show frmDocument first our of MDI client.
also add
CommandBars.RecalcLayout(); in the end of void LoadNewDoc() |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
Hi Oleg,
thank you very much for this workaround ! It solves most of the flickering !
The only issue I still see is that the whole tabbed workspace area flushes for a second if I add new child document ...
Do you know a way to prevent this too ?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
have you added
CommandBars.RecalcLayout(); before
this .Refresh(); ? |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
Oops ! I´ve added CommandBars.RecalcLayout after this.Refresh !
Now it seems to work fantastic !!
Thank you very much Oleg !!!
|
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
Hi Oleg,
I´ve found one issue regarding this topic while testing:
Once I´ve a open mdi child window, when changing the application style
( Office2003, OfficeXP, .. ) the complete window flushes !
You can reproduce this with your MDISample ( VB.NET ) too ...
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
It will be fixed in our sources for 11.2 release.
Thanks.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
Oleg, I tested this problem with v11.2 and it still exists !?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
And do you see it in our MDISample? :(
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
Yes ! In the VB.NET MDISample !
|
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
It seems to only appear if you have
a) mdi client windows opened and
b) you change theme/style from or to OfficeXP
|
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
Will this be fixed in v11.2.1 ?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
I don't see any problems with our sample :(
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
Hi Oleg,
did you try the VB.NET MDISample sample ? Please make sure you
a) opened a mdi client document window
b) change theme/style from or to OfficeXP
I tried on two different machines with exact the same behaviour ...
|
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
Are you able to reproduce the behavior ?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
No I can't. There was some changes after 11.2.0 and may be it fixed problem. Lets hope it will work for you with 11.2.1.
in what OS do you try it ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
Using Windows XP SP2 with all fixes ! Is it possible to get a beta build of 11.2.1 to test ?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Open new issue in issuetrack, I will send ocx to test.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
Hi Oleg,
seems to work with 11.2.1 beta ! When can we expect release of 11.2.1 ?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, Soon.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
I have to reactivate this topic !
My customers reported flushing on the right side of the window on large displays (1600+ width)... I'm able to reproduce it with XtremeSuite 13.2.1 with c# in VisualStudio 2008: Near the right side of the window when adding a new mdi child it seems as the right border of the child form is displayed for short ! Oleg's workaround As same workaround,
For frmDocument change:
StartPosition=Manual
Location=-50,-50
Size=1000,1000
or any values to show frmDocument first our of MDI client.
also add
CommandBars.RecalcLayout(); in the end of void LoadNewDoc()does not work here ! Also increasing size to 2000+ does not help ! Is there any solution or other workaround known ? |
|
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 |