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
Printable View
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
1. Set the Moveable Property to false.
2. Are you talking about the Activate event?
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.
lol... Tied.
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