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. inherit some properties of one control to another

inherit some properties of one control to another

Scheduled Pinned Locked Moved Visual Basic
help
5 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, can u help me plz i want to inherits some properties of treeview control to the listview control , 'coz i need this for my application. i wil be gratefull plz give me solution :doh: :rose: Regards Irfan Siddiqui programmer

    R I 2 Replies Last reply
    0
    • I irfanahsan

      hello, can u help me plz i want to inherits some properties of treeview control to the listview control , 'coz i need this for my application. i wil be gratefull plz give me solution :doh: :rose: Regards Irfan Siddiqui programmer

      R Offline
      R Offline
      Robert Rohde
      wrote on last edited by
      #2

      What exatcly are you trying to achieve? What you request is not possible (would require multiple inheritance).

      1 Reply Last reply
      0
      • I irfanahsan

        hello, can u help me plz i want to inherits some properties of treeview control to the listview control , 'coz i need this for my application. i wil be gratefull plz give me solution :doh: :rose: Regards Irfan Siddiqui programmer

        I Offline
        I Offline
        irfanahsan
        wrote on last edited by
        #3

        hello thanks for response sir i have a treelistview class that has all the properties of a control & i wanto add a property called focused node and i used this property but i won't work . Regards Irfan Siddiqui programmer -- modified at 6:32 Monday 1st May, 2006

        R 1 Reply Last reply
        0
        • I irfanahsan

          hello thanks for response sir i have a treelistview class that has all the properties of a control & i wanto add a property called focused node and i used this property but i won't work . Regards Irfan Siddiqui programmer -- modified at 6:32 Monday 1st May, 2006

          R Offline
          R Offline
          Robert Rohde
          wrote on last edited by
          #4

          Hi, sorry but you don't provide enough infos so that I can help you. What extactly is treelistview? Its not part of the framework. Is it a control you built yourself or one downloaded from somewhere? If it is not too much you can post the relevant code snippets and point out what exactly is not working.

          I 1 Reply Last reply
          0
          • R Robert Rohde

            Hi, sorry but you don't provide enough infos so that I can help you. What extactly is treelistview? Its not part of the framework. Is it a control you built yourself or one downloaded from somewhere? If it is not too much you can post the relevant code snippets and point out what exactly is not working.

            I Offline
            I Offline
            irfanahsan
            wrote on last edited by
            #5

            hello thanks for ur interest yes i have download it , it is a hybrid of treeview & listview control. but it has no property like other controls have as Focusednode or focuseditem hence i want to add this property in my Treelistview. i am showing u some code sample of its property called selected node property, but it's not working Private WithEvents mSelectedNodes As New NodeCollection _ ReadOnly Property SelectedNodes() As NodeCollection Get Return mSelectedNodes End Get End Property Regards Irfan Siddiqui programmer

            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