| View previous topic :: View next topic |
| Author |
Message |
pistareale
Joined: 21 Aug 2008 Posts: 4
|
Posted: Thu Aug 21, 2008 12:11 pm Post subject: Locking child frame |
|
|
Hi,
I have an application containing parent and child frame. Child frame is accessed by parents. I want to limit moving of child frame only in parent frame. Is there any code? Thanx. |
|
| Back to top |
|
 |
|
|
sendtoanurag
Joined: 18 Mar 2008 Posts: 28
|
Posted: Fri Aug 22, 2008 8:12 am Post subject: Re: Locking child frame |
|
|
What exactly do u want??
Because the child frame will move only inside the parent frame it cannot go outside the parent frame. |
|
| Back to top |
|
 |
pistareale
Joined: 21 Aug 2008 Posts: 4
|
Posted: Fri Aug 22, 2008 9:10 am Post subject: reply |
|
|
| Yes, thats all I need, to make a child frame move only inside a parent frame. |
|
| Back to top |
|
 |
sendtoanurag
Joined: 18 Mar 2008 Posts: 28
|
Posted: Fri Aug 22, 2008 9:40 am Post subject: Re: Locking child frame |
|
|
OK Make a parent frame.
Then make another frame inside that frame only
That's it.
Coz frame is meant only for one pupose. Nothing drawn inside it can move out of the frame even if its a child frame |
|
| Back to top |
|
 |
pistareale
Joined: 21 Aug 2008 Posts: 4
|
Posted: Fri Aug 22, 2008 10:30 am Post subject: re |
|
|
you didn't understand me. I can't make a child frame inside a parent frame because a child frame is a window who pops out when action is made in parent frame. Like when you press a button in application "About the Program" and little window pops out with informations about the program, I need to maintain that window indside a main application window. |
|
| Back to top |
|
 |
sendtoanurag
Joined: 18 Mar 2008 Posts: 28
|
Posted: Fri Aug 22, 2008 10:47 am Post subject: Re: Locking child frame |
|
|
Ok
Can u tell what r u using to show the information.
I mean r u using a msgBox or label or any form. |
|
| Back to top |
|
 |
pistareale
Joined: 21 Aug 2008 Posts: 4
|
Posted: Fri Aug 22, 2008 11:03 am Post subject: re |
|
|
| yes, i'm using labels and groupboxes. I've been cheking where i could implement such a code since I'm using MS Visual 2008, and I think that it should be implemented in childname.Designer.vb page since a simple properies section does not provide coding of that type. |
|
| Back to top |
|
 |
|