|
-
Nov 28th, 2009, 03:10 AM
#1
Thread Starter
PowerPoster
[RESOLVED] I am working with...
I am working with several Forms that are able to be on the screen at a time. But only one of them will be .SetFocus, all the time. When one of them looses Focus, then it will be .Zorder "1", instead of staying on the screen and being inactive.
How can I get the Forms, to be inactive when not in use, but stay on the screen for when they are called to be working on the screen. I am trying to click a button on the Master Form (Form1), and Form2, is called before hand. Then I have to click onto the Form2, from Form1. Then a process will happen, when that has happened.
I cannot get past this. I am trying to work with this code:
Code:
Form2.LostFocus = Form1.SetFocus
Form1.LostFocus = Form2.SetFocus
Is this the correct way of working out the problem, or is there something that I am missing, here??? Please tell me, where I am going wrong!!
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
-
Nov 28th, 2009, 03:22 AM
#2
Thread Starter
PowerPoster
Re: I am working with...
I am now working with this code:
Code:
Private Sub Form_Load()
If Form1.hWnd Then Form2.ZOrder "0"
Exit Sub
End Sub
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
-
Nov 28th, 2009, 08:30 AM
#3
Frenzied Member
Re: I am working with...
Not quite sure what you are trying to communicate but it sounds like you want to keep one form above another but still be able to interact with form behind. If this is the case then start a new standard exe project, add a form, and try this...
Code:
Option Explicit
Private Sub Form_Load()
Me.WindowState = vbMaximized
Form2.Show vbModeless, Me
End Sub
This will keep Form2 above form1 and you will still be able to interact with form1.
Good Luck
Option Explicit should not be an Option!
-
Nov 28th, 2009, 07:51 PM
#4
Thread Starter
PowerPoster
Re: I am working with...
Thanks for the update, I have been able to work it into my project!! Thanks again, my friend!!
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
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
|