Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Components & Controls
GUI
Index Of Panels
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="jmcilhinney, post: 37289, member: 641"] [code]Private panels As Panel() Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.panels = New Panel([U]My.Settings.NumberOfItems[/U] - 1) {} Dim newPanel As Panel For index As Integer = 0 To Me.panels.GetUpperBound(0) Step 1 newPanel = New Panel Me.panels(index) = newPanel Me.Controls.Add(newPanel) Next index End Sub[/code]Now you refer to them via their index in the 'panels' array. [/QUOTE]
Insert quotes…
Verification
Post reply
Components & Controls
GUI
Index Of Panels
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom