Results 1 to 4 of 4

Thread: [RESOLVED] Form Move

  1. #1

    Thread Starter
    Fanatic Member AccessShell's Avatar
    Join Date
    Oct 2013
    Posts
    678

    Resolved [RESOLVED] Form Move

    I have a form with with a "Fixed Single" border Style. I have a second form with no border.

    If form2 (no border) is closed when I move Form1(Fixed Single border), I can open Form2 just under Form1. No Problem

    However, If both forms are open, how do I move Form1 and Form2 together from the Form1 title bar?

    Thanks

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    23,696

    Re: Form Move

    Sounds completely goofy. But if you want that why not look into WM_MOVE and WM_MOVING. Both are described in the documentation that came with VB6.

  3. #3

    Thread Starter
    Fanatic Member AccessShell's Avatar
    Join Date
    Oct 2013
    Posts
    678

    Re: Form Move

    Your "goofy" comment got me to think. I don't know why you think it is "goofy".

    But, after seeing some code to try to do what I need, I decided to approach the problem differently. I will be dumping the second form and hiding it in the first form.
    Last edited by AccessShell; Aug 8th, 2022 at 08:30 AM.

  4. #4
    Member
    Join Date
    May 2021
    Posts
    32

    Re: [RESOLVED] Form Move

    Hi. It may not be entirely on point, but I wonder if the VBA code at the folllowing link might be of help:

    https://www.mrexcel.com/board/thread...odule.1197302/

    The workbook/code by Jaafar at Post 4 responds partly to your question - "If both forms are open, how do I move Form1 and Form2 together from the Form1 title bar?"



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