IntegralUI TreeListView User Guide - Lidor Systems
IntegralUI TreeListView User Guide - Lidor Systems
IntegralUI TreeListView User Guide - Lidor Systems
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
progressValue = RandomValue(progressValue)<br />
pBar.Value = progressValue<br />
subItem.Control = pBar<br />
Exit Select<br />
Case ColumnContentType.[Custom]<br />
' Create and add a checkbox to the subitem<br />
Dim cBox As New CheckBox()<br />
cBox.Size = New Size(13, 13)<br />
If nodeIndex Mod 3 = 1 Then<br />
cBox.Checked = True<br />
End If<br />
subItem.Controls.Add(cBox)<br />
' Set the image index<br />
Dim imgIndex As Integer = nodeIndex Mod 9<br />
' Create a custom content<br />
Dim content As String = ""<br />
content += "More info"<br />
content += ""<br />
content += ""<br />
' Add the created content to the subitem<br />
subItem.Content = content<br />
Exit Select<br />
Case Else<br />
subItem.Text = ("Item " & sufix) + j.ToString()<br />
Exit Select<br />
End Select<br />
. . .<br />
End Sub<br />
36