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. Creating Sub Properties in ActiveX Control

Creating Sub Properties in ActiveX Control

Scheduled Pinned Locked Moved Visual Basic
comdata-structurestutorial
2 Posts 1 Posters 11 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Is ther any one can tell me that how to creat a sub property in ActiveX control, like A recordset has sub properties and the TableDef has an array or properties and same with the fields. I will obviously thankfull to you. sameers sameers@hangamahouse.com

    L 1 Reply Last reply
    0
    • L Lost User

      Is ther any one can tell me that how to creat a sub property in ActiveX control, like A recordset has sub properties and the TableDef has an array or properties and same with the fields. I will obviously thankfull to you. sameers sameers@hangamahouse.com

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      i think you mean something like this in class, MyActiveXControl Private m_sStringProperty as String ... Public Property Get MyStringProperty() as String      MyStringProperty = m_sStringProperty End Property Public Property Let MyStringProperty(sSP as String)      ' Validate if you want      m_sStringProperty = MyStringProperty End Property You can also use 'Public Property Set' to have an object be a property and you can use Private to make your property read/write only as well. James Johnson -- There are two secrets to success. 1) Never tell anyone everything you know.

      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