![]() |
Ribbon Bar & MDI Close |
Post Reply ![]() |
Author | |
LittleJK ![]() Senior Member ![]() ![]() Joined: 13 April 2006 Status: Offline Points: 168 |
![]() ![]() ![]() ![]() ![]() Posted: 16 May 2007 at 2:10pm |
Hi, We are trying to get the close, minimize and restore buttons to be removed. All the examples show using .SetFlags xtpFlagHideMDIButtons, 0. Just when I look for setflags it's not there in the properties.
thanks |
|
![]() |
|
jpbro ![]() Senior Member ![]() ![]() Joined: 12 January 2007 Status: Offline Points: 1355 |
![]() ![]() ![]() ![]() ![]() |
First, are you using the latest version?
Next, the SetFlags is a property of the RibbonBar, not the CommandBars, so:
|
|
![]() |
|
LittleJK ![]() Senior Member ![]() ![]() Joined: 13 April 2006 Status: Offline Points: 168 |
![]() ![]() ![]() ![]() ![]() |
We are using 11.1.... Yeah I don't know it wasn't working when I posted this message but after getting it to work in the codejock sample... it finally worked in our project.... Thanks though, just quick question? Why are you calling .recalculate and .paintmanager.refreshmetrics when declaring the commandbar? Just wondering because we currently don't use them. Although we do have to use the recalculate a lot with the docking panes actions now.
|
|
![]() |
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 |