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
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to add properties to TreelistView User control

How to add properties to TreelistView User control

Scheduled Pinned Locked Moved Visual Basic
helptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    irfanahsan
    wrote on last edited by
    #1

    hello, please tell me how can i add properties to the user created control as i have a treelistview control & i want to add focusednode property to it. can u help me.

    M 1 Reply Last reply
    0
    • I irfanahsan

      hello, please tell me how can i add properties to the user created control as i have a treelistview control & i want to add focusednode property to it. can u help me.

      M Offline
      M Offline
      mlauahi
      wrote on last edited by
      #2

      PUBLIC CLASS TopVaultNode INHERITS TreeNode PUBLIC Type AS STRING PUBLIC NodeId AS GUID PUBLIC ParentId AS GUID PUBLIC Description AS STRING PUBLIC UserRights AS INTEGER SUB NEW(ByVal XType AS STRING, byval XNodeId AS GUID, XParentID AS Guid, ByVal XDescription As String, XUserRights AS INTEGER) MYBASE.NEW() ME.Type = XType ME.NodeId = XNodeId ME.ParentId = XParentId ME.Description = XDescription ME.UserRights = XUserRights ME.ImageIndex = NodeColorsAndIndexs.imageindexes.VAULT ME.SelectedImageIndex = NodeColorsAndIndexs.SelectedImageIndexes.VAULT ME.ForeColor = Color.Black ME.Text = Trim(ME.Description) END SUB END CLASS

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

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