Hi,
How can I dynamically find all of the linklabel within a form, then get the linklabel name?
khentz 0 Junior Poster in Training
Recommended Answers
Jump to PostPrivate Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim StackOfControls As New Stack(Of Control) Dim AllLinkLabels As New List(Of LinkLabel) Dim ControlChecking As Control StackOfControls.Push(Me) Do While StackOfControls.Count > 0 ControlChecking = StackOfControls.Pop For Each ChildControl As Control In ControlChecking.Controls If TypeOf ChildControl …
All 4 Replies
codeorder 197 Nearly a Posting Virtuoso
khentz 0 Junior Poster in Training
codeorder 197 Nearly a Posting Virtuoso

Unhnd_Exception
codeorder commented: impressive :) +11
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.