[solved] RibbonBar: QAT not in mdi title bar |
Post Reply |
Author | |
Superpippo
Groupie Joined: 02 March 2005 Status: Offline Points: 67 |
Post Options
Thanks(0)
Posted: 05 December 2017 at 1:06pm |
Running your sample RibbonMDISample.vbp the QuickAccess, Standard Window Resizing Tools and some Custom Tools are all in the Title Bar of the mdi window.
it seems that to achieve this goal you set EnableFrameTheme in your app, as if i try to delete this line the behaviour is different and all the tools are in a new bar below the title bar. In my application i am not able to put Quick Access and Standard Window Resizing Tools in the Mdi Title Bar, i tried both with and without EnableFrameTheme, but nothing change! What i have to look for ? I just want the behaviour you have in your sample! Here An image of my application and of your sample app.
|
|
SuperPippo
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello,
Try use CommandBars.EnableOffice2007Frame(true); see method SetApplicationTheme() in Samples\CommandBars\C#.NET\RibbonSample\frmMain.cs Regards, Oleksandr Lebed |
|
Superpippo
Groupie Joined: 02 March 2005 Status: Offline Points: 67 |
Post Options
Thanks(0)
|
doesn't work at all!
|
|
SuperPippo
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Note that
CommandBars.EnableOffice2007Frame(true); should be called after changin theme CommandBarsGlobalSettings.ResourceImages.LoadFromFile(StylesPath() + strDLLFileName, strIniFileName); CommandBars.VisualTheme = XtremeCommandBars.XTPVisualTheme.xtpThemeResource;
|
|
Superpippo
Groupie Joined: 02 March 2005 Status: Offline Points: 67 |
Post Options
Thanks(0)
|
Doesn't work!
In attachment a little vb6 sample project with the same problem. The code is the same that you give in the activex help for the item "ribbon". Can you look it and let me know what i have to fix in the code ? Thank a lot Maurizio
|
|
SuperPippo
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Looks like you forgot to upload archive. I can see only 2 pictures in your uploaded files.
|
|
Superpippo
Groupie Joined: 02 March 2005 Status: Offline Points: 67 |
Post Options
Thanks(0)
|
i try again....
|
|
SuperPippo
|
|
Superpippo
Groupie Joined: 02 March 2005 Status: Offline Points: 67 |
Post Options
Thanks(0)
|
try this: uploads/1020/QuickAccessProblem1.zip
I can see the file sucessfully uploaded in my Member Control Panel in this forum. Let me know...thanks |
|
SuperPippo
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
You are using v15.3.1... There are a lot of changes from 2012 year.
I can debug sample later. |
|
Superpippo
Groupie Joined: 02 March 2005 Status: Offline Points: 67 |
Post Options
Thanks(0)
|
Yes i understand, but with the same release some sample of yours works fine.
|
|
SuperPippo
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
in Form_Load() add
|
|
Superpippo
Groupie Joined: 02 March 2005 Status: Offline Points: 67 |
Post Options
Thanks(0)
|
Ok, solved!
Thanks a lot. |
|
SuperPippo
|
|
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 |