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. Public Property

Public Property

Scheduled Pinned Locked Moved Visual Basic
question
3 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.
  • X Offline
    X Offline
    XGaMeS
    wrote on last edited by
    #1

    Im trying to access a Public Property in a form with name Principal(mdiParent) from another one (mdiChild) but i can't get acess whats wrong ? Private _IDTechLOG As Integer Public Property IDTechLOG() As Integer Get Return _IDTechLOG End Get Set(ByVal LeID As Integer) _IDTechLOG = LeID End Set End Property :cool:

    C 1 Reply Last reply
    0
    • X XGaMeS

      Im trying to access a Public Property in a form with name Principal(mdiParent) from another one (mdiChild) but i can't get acess whats wrong ? Private _IDTechLOG As Integer Public Property IDTechLOG() As Integer Get Return _IDTechLOG End Get Set(ByVal LeID As Integer) _IDTechLOG = LeID End Set End Property :cool:

      C Offline
      C Offline
      Charlie Williams
      wrote on last edited by
      #2

      XGaMeS wrote: i can't get acess What does this mean? Are you casting the parent form to the correct type? Post the code that's not working to get a more specific answer. Charlie if(!curlies){ return; }

      X 1 Reply Last reply
      0
      • C Charlie Williams

        XGaMeS wrote: i can't get acess What does this mean? Are you casting the parent form to the correct type? Post the code that's not working to get a more specific answer. Charlie if(!curlies){ return; }

        X Offline
        X Offline
        XGaMeS
        wrote on last edited by
        #3

        I wasn't seeing the property, and yes it was c casting error :cool: I am a newbie

        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