Hi,
Sorry for misunderstanding you.
For this issue, I think it is by the design of the form designer, the
control overlapped on another, this depands on the z-order.(Normally, it
depands on the order in the code it being added into the controls
collection).
If you have many panel one on another, I think you can select different
control from the property's dropdownlist to select you wanted control, use
right click menu to set it to front.
Also, you can go to the code editor, to change its z-order(by changing the
order it being added int the controls collection)
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| From: <->
| References: <
[email protected]>
<#
[email protected]>
<
[email protected]>
<
[email protected]>
| Subject: Re: Windows Forms
| Date: Fri, 14 Nov 2003 19:59:31 +1100
| Lines: 107
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <
[email protected]>
| Newsgroups: microsoft.public.dotnet.languages.vb
| NNTP-Posting-Host: 202-44-189-210.nexnet.net.au 202.44.189.210
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:156775
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| Yep, you misunderstood big time... but thats ok... I'll try to explain...
|
| I have control overload on my form... I have many panels holding form
| controls which are shown or hidden depending on what it selected in the
| treeview on the left... I find it hard to navigate to a particular form
| control on a particular panel (or whatever container I have used)... it
| would be handy to be able to place them on a seperate area of the designer
| so they can all be viewed at once, but still appear in the correct place
| when the app is run...
|
| Currently to navigate to a panel buried under others I have to use the
| dropdown list above the Properties window in the .Net IDE... or click on
the
| topmost one and select send to back... when you have too many controls on
| the designer you can't manage them effectively....
|
| Does that explain the problem I have?
|
| Cheers
|
| | >
| > Hi,
| >
| > Thanks for posting in this group.
| > Windows uses message model to manage all the UI windows(Including
| > controls). And all the controls have certain events for certain
behaviors.
| > When you do different opertaions on these controls, you can handle
related
| > event, then do the appropriate process.
| > Because all the controls and UI elements are in the same process,
| > especially, in the same thread, you can manipulate them freely in the
| > events.
| > For example, when you select a certain node of treeview, you can handle
| the
| > TreeView_Click event. In this event, you can set the form's text
property
| > as the selected node's text. Or you can add the node's text string into
| > another listbox.
| > All these can be done freely.
| >
| > If I misunderstand you, please feel free to let me know.
| >
| > Best regards,
| > Jeffrey Tan
| > Microsoft Online Partner Support
| > Get Secure! -
www.microsoft.com/security
| > This posting is provided "as is" with no warranties and confers no
rights.
| >
| > --------------------
| > | From: <->
| > | References: <
[email protected]>
| > <#
[email protected]>
| > | Subject: Re: Windows Forms
| > | Date: Fri, 14 Nov 2003 09:25:03 +1100
| > | Lines: 32
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <
[email protected]>
| > | Newsgroups: microsoft.public.dotnet.languages.vb
| > | NNTP-Posting-Host: 202-44-189-210.nexnet.net.au 202.44.189.210
| > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:156676
| > | X-Tomcat-NG: microsoft.public.dotnet.languages.vb
| > |
| > | That does nothing to answer the question really... I can see what is
in
| > | front of my eyes in the toolbox.... what I want to know is how to best
| > | manage when you have many of these on a single form and you need to
| flick
| > | from one to the next when setting properties etc... once you have more
| > than
| > | a few of these controls on a form you just get lost and it becomes
| > | unmanagable....
| > |
| > | As an example, I have a form with a treeview on the left... on the
right
| I
| > | have a multitude of different controls to display depending on what
the
| > user
| > | selects in the treeview... how do I manage all the controls on the
| > right...
| > | just plonk them all on top of each other...?
| > |
| > | Ta
| > |
| > |
| > |
| > | | > | > Hi
| > | >
| > | > Take a look at "panel" , "groupbox" and to make it complet
| "statusbar"
| > | >
| > | > For the rest there are a lot of answer.
| > | >
| > | > "User controls", MDI forms, separated forms,
| > | > .................................
| > | >
| > | > Cor
| > | >
| > | >
| > |
| > |
| > |
| >
|
|
|