|
-
Nov 7th, 1999, 07:55 AM
#1
Thread Starter
Member
Hi everybody!,
Okay, I picked up this line of code that keeps the mdichild form in the background - on top of the MDIparent, but every other mdichild loads on top of it.
I simply attached a timer and then:
Private Sub Timer1_Timer()
On Error Resume Next
If Screen.ActiveForm.MDIChild Then ZOrder 1
End Sub
However, it seems that, while this works, it is causing me some SERIOUS hassle. For example, the 'Open', 'Save' and 'Print' buttons on my mdichild forms don't work - it seems the focus keeps going back to the form with the code above.
Here's what I mean exactly: When I click, say, the 'Open' button on my form, the Open Common Dialog control display appears, but none of the buttons work, becuase the focus goes back so quickly to the form with the code above. Does anyone know how I can solve my problem?
Help would be much appreciated.
-
Nov 7th, 1999, 08:19 AM
#2
Fanatic Member
You could turn your Timer off for a while
------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.
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
|