MDI form |
Post Reply |
Author | |
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
Posted: 12 January 2007 at 8:06pm |
hi,
I do have a mdi form, an i added to it a commandbar to, but I want to add the shortcutbar also and placing it under the commandbar (the look of outlook 2003), but everytime I try to add the shortcutbar to mdi form the control will be addedto the top of the form. how can fix this problem? thank you |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
for visual basic 6:
Private Sub CommandBars1_RepositionAlignedControls(Left As Long, Top As Long, Right As Long, Bottom As Long)
CommandBars1.MoveAlignedControl ShortcutBar1, Left, Top, Right, Bottom End Sub |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
|
thank you for the quick response.
now there is another issue, and I don't know if it's me or code. when I click a "New" button on the commandbar to open a new window, the window is open on the top of the shortcutbar, then when I maximize the main window the shortcutbar appears with no problems and the new form appears on the side of the shotcutbar (just as expected). So, am I doing something wrong? there is my code to open the new form (MDI Child) Private Sub CommandBars_Execute(ByVal Control As XtremeCommandBars.ICommandBarControl) Select Case Control.Id Case ID_FILE_NEW ' open new window Dim f As Form Set f = New Form1 f.WindowState = 2 RibbonBar.SelectedTab = TabUser Case 1 ' exit End End Select End Sub |
|
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 |