Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Shortcut Bar
  New Posts New Posts RSS Feed - MDI form
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MDI form

 Post Reply Post Reply
Author
Message
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post Topic: MDI form
    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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 13 January 2007 at 3:58am
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
Back to Top
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post Posted: 13 January 2007 at 11:58am
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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.186 seconds.