Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
N

Nitin Pable

@Nitin Pable
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • TreeView HideSelection Color change?
    N Nitin Pable

    You can't change TreeView.HideSelection Color directly. But to change HideSelection color here is an another solution 1) TreeView.HideSelection = true 2) Declare: Public previousSeletedNode As TreeNode 'To hold reference to previously selected TreeNode 3) Private Sub TreeView1_Validating(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles TreeView1.Validating TreeView1.SelectedNode.BackColor = Color.Yellow TreeView1.SelectedNode.ForeColor = Color.White previousSeletedNode = TreeView1.SelectedNode End Sub 4) Private Sub TreeView1_AfterSelect(ByVal sender As System.Object, ByVal e As System.Windows.Forms.TreeViewEventArgs) Handles TreeView1.AfterSelect If Not previousSeletedNode Is Nothing Then previousSeletedNode.BackColor = TreeView1.BackColor previousSeletedNode.ForeColor = TreeView1.ForeColor End If End Sub

    Visual Basic tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups