|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Name of Active User Control Docked in PanelHi All Is there a way I can tell the name of the user control docked in a Split Container Panel. I am using VB.Net 2005. e.g. if I dock a user control using the code below: UserControl1.Parent=Form1.SplitContainer1.Panel2 UserControl1.Dock=DockStyle.Fill UserControl1.Show() Is there a way I can find out the name of the user control docked in Split Container Panel2. (something that returns "UserControl1") Thanks Mike TI "Mike TI" <sunset***@hotmail.com> schrieb: 'MsgBox(Me.SplitContainer1.Panel1.Controls(0).Name)'.> Is there a way I can tell the name of the user control docked in a Split > Container Panel. I am using VB.Net 2005. > > e.g. if I dock a user control using the code below: > > UserControl1.Parent=Form1.SplitContainer1.Panel2 > UserControl1.Dock=DockStyle.Fill > UserControl1.Show() > > Is there a way I can find out the name of the user control docked in Split > Container Panel2. > (something that returns "UserControl1") -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
How to extract multiple occurrences of a substring
Merging data received via TCP Textbox data entry validation Finding A Record in a Dataset by index Form1 can't getfocus again... Waiting for ThreadPool textbox enter or GotFocus Are there any tools that can generate call graph for Visual Basic .NET source codes? 77 lines code need 30MB ram ? Threading a form |
|||||||||||||||||||||||