-
Aug 7th, 2022, 07:48 PM
#1
Thread Starter
Fanatic Member
[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
-
Aug 7th, 2022, 08:18 PM
#2
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.
-
Aug 7th, 2022, 09:01 PM
#3
Thread Starter
Fanatic Member
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.
-
Aug 8th, 2022, 07:49 PM
#4
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|