Hi,
I have an appliacation containing parent and child frame. Child frame is accessed by parents. I want to limit moving of childs frame only in parent frame. Is there any code? Thanx.
Printable View
Hi,
I have an appliacation containing parent and child frame. Child frame is accessed by parents. I want to limit moving of childs frame only in parent frame. Is there any code? Thanx.
:D :wave:Quote:
Welcome to VBForums
Can you explain me a little more....:ehh:
Of course. I'm making an application devided in two frames, parents and child one. Childs frame can be only accessed from parents one. No matter whar function provides childs frame I want to limit its movement, like a windows box only inside of parent frame, meaning that somehow i must assing child frame as a property of parent frame or...
What do you mean by child and parent frame? Are you trying to say that you have two frame control, and you want to put it inside the other?
I am not able to understand whats the real problem is?
If possible, try to give a screenshot of what you are looking for and what you have so far.:)
try this code.by loading a form u have the (power) to place it anywhere on the parent form.vb Code:
Load formChild With formChild .Top = frmParent.Top + Me.Height - Me.ScaleHeight +350 'adjust accordingly .Left = frmParent.Left + Me.Width - Me.ScaleWidth + 500 .Show .SetFocus End With
I think yot are looking for mdi forms. Are you?
Or two simple forms to act as parent and child?