I can't seem to display images in Sheridan's Active Tree View. Followed examples...no go. Images are properly stored but don't appear when I run program. I am using their image list and not Microsoft's image list. VB6
"CloseFolder" is key to image. I have also tried using the index number 1. I only have 1 entry.
'------------here is a snipit of the code-------------
With SSTreeSelection
.UseImageList = False
.style = ssatTreelinesPlusMinusText
.LineStyle = ssatRootLines
.LoadStyleRoot = ssatLoadStyleChildrenAddItem
.Indentation = DefaultIndentation
.Redraw = False
Set Node = .Nodes.Add(, , sOrganizations, sOrganizations, "ClosedFolder", , BookRecordTypeMajOrg & "," & BookRecordTypeQClub)
With Node
.Font.Bold = True
.Font.Size = 12
' This causes OnDemandPrepare to be called when node is selected
.LoadStyleChildren = ssatLoadStyleChildrenOnDemandKeep
End With
"CloseFolder" is key to image. I have also tried using the index number 1. I only have 1 entry.
'------------here is a snipit of the code-------------
With SSTreeSelection
.UseImageList = False
.style = ssatTreelinesPlusMinusText
.LineStyle = ssatRootLines
.LoadStyleRoot = ssatLoadStyleChildrenAddItem
.Indentation = DefaultIndentation
.Redraw = False
Set Node = .Nodes.Add(, , sOrganizations, sOrganizations, "ClosedFolder", , BookRecordTypeMajOrg & "," & BookRecordTypeQClub)
With Node
.Font.Bold = True
.Font.Size = 12
' This causes OnDemandPrepare to be called when node is selected
.LoadStyleChildren = ssatLoadStyleChildrenOnDemandKeep
End With