|
-
Aug 21st, 2008, 05:55 AM
#1
Thread Starter
New Member
Locking child frame
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.
-
Aug 21st, 2008, 06:33 AM
#2
Re: Locking child frame
Can you explain me a little more....
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Aug 21st, 2008, 06:42 AM
#3
Thread Starter
New Member
Re: Locking child frame
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...
-
Aug 21st, 2008, 08:18 AM
#4
Re: Locking child frame
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.
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Aug 21st, 2008, 11:34 AM
#5
Hyperactive Member
Re: Locking child frame
try this code.
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
by loading a form u have the (power) to place it anywhere on the parent form.
-
Aug 21st, 2008, 08:53 PM
#6
Re: Locking child frame
I think yot are looking for mdi forms. Are you?
Or two simple forms to act as parent and child?
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
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
|