Results 1 to 24 of 24

Thread: Creating a "Sub" form like in Word...[BACK OPEN]

Hybrid View

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2004
    Location
    Everywhere
    Posts
    46

    Re: Creating a "Sub" form like in Word...

    Awesome. Thank you.
    Myriad Rocker
    The ability to speak does not make you intelligent

    I haven't had VB since college...go easy.

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Creating a "Sub" form like in Word...[RESOLVED]

    Your Welcome.

    Thanks for saying thanks. Sometimes people forget that we help for free.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2004
    Location
    Everywhere
    Posts
    46

    Re: Creating a "Sub" form like in Word...[BACK OPEN]

    Hey, no prob. I really appreciate it.

    So I don't clutter the place up with threads that are related, I just opened this one back up.

    How do I align an MDI child form to a certain side of the MDI parent? By default, I believe it aligns to the left. I want it to align on the right hand side.
    Myriad Rocker
    The ability to speak does not make you intelligent

    I haven't had VB since college...go easy.

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Creating a "Sub" form like in Word...[BACK OPEN]

    I'm not an MDI expert, but I will try my best.
    Are we talking about positioning the form or docking the form?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Member
    Join Date
    Nov 2004
    Location
    Everywhere
    Posts
    46

    Re: Creating a "Sub" form like in Word...[BACK OPEN]

    I have attached an image example. The arrow shows where I want the child form to be on the MDI parent.
    Attached Images Attached Images  
    Myriad Rocker
    The ability to speak does not make you intelligent

    I haven't had VB since college...go easy.

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Creating a "Sub" form like in Word...[BACK OPEN]

    Like this?
    VB Code:
    1. Option Explicit
    2.  
    3. Private Sub MDIForm_Load()
    4.     MDIForm1.Height = 4000
    5.     MDIForm1.Width = 6000
    6.     Form1.Width = MDIForm1.Width / 4
    7.     Form1.Height = MDIForm1.Height - 875
    8.     Form1.Move MDIForm1.ScaleWidth - Form1.ScaleWidth - 125
    9.     Form1.Show
    10. End Sub
    Attached Images Attached Images  
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    Member
    Join Date
    Nov 2004
    Location
    Everywhere
    Posts
    46

    Re: Creating a "Sub" form like in Word...[BACK OPEN]

    Awesome!!!!! You Rule!!!!!!
    Myriad Rocker
    The ability to speak does not make you intelligent

    I haven't had VB since college...go easy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width