|
-
Apr 7th, 2005, 11:52 PM
#1
Thread Starter
Addicted Member
two questions
1) can i make a form not move from its possition, like it can't be dragged
2) what is the event when an MDI gets deselcted / deactivated, like when other window is selected
Women ...r like tea bags, you neva know how strong they really r untill u put them in hot water
Huzefa Yousuf
Software Engineer
Verticity Inc.
+92-345-2235303
[email protected]
-
Apr 7th, 2005, 11:59 PM
#2
Re: two questions
1. Set the Moveable Property to false.
2. Are you talking about the Activate event?
-
Apr 8th, 2005, 12:01 AM
#3
Addicted Member
Re: two questions
The form not being able to move is easy, in the Form Properties, find "Moveable" and change to False.
MDI Quesiton:
Event Deactivate()
Occurs when a form is no longer the active window.
[ +] - My Portfolio/Blog :: RattleSoft
-
Apr 8th, 2005, 12:02 AM
#4
Addicted Member
[ +] - My Portfolio/Blog :: RattleSoft
-
Apr 8th, 2005, 06:20 AM
#5
Thread Starter
Addicted Member
Re: two questions
well got the first one bingo, but the second one is not working, see i want to show the form when my mdi form is active n hide it when it is not, this is the code i used but it gets stuck, like the form shows n hides innumerable times
VB Code:
Private Sub MDIForm_Activate()
Frm_Info.Show
End Sub
Private Sub MDIForm_Deactivate()
Frm_Info.Hide
End Sub
Women ...r like tea bags, you neva know how strong they really r untill u put them in hot water
Huzefa Yousuf
Software Engineer
Verticity Inc.
+92-345-2235303
[email protected]
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
|