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
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to use Inheritance in VB 6.0

How to use Inheritance in VB 6.0

Scheduled Pinned Locked Moved Visual Basic
ooptutorialquestion
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.
  • A Offline
    A Offline
    anant iyer
    wrote on last edited by
    #1

    :rose: How to use Inheritance in VB 6.0? :rose: It's very easy:- Declare an Global variable and use it whenever needed But in case of forms, make few changes only:- Declare form variable without New keyword. Like, Dim Fr as Form1. And the Form1 is Inherited. Now i can do any thing with Form1. I can get any thing like Form backColor, ForColor, Size, Location, etc. Like you can see it in my " Floating Control Box" Article (named - Window Control 1.0). It was very hard use Inheritance in Visual Basic 6.0. But known it is very ease to use Inheritance. -- modified at 5:59 Sunday 19th March, 2006

    D 1 Reply Last reply
    0
    • A anant iyer

      :rose: How to use Inheritance in VB 6.0? :rose: It's very easy:- Declare an Global variable and use it whenever needed But in case of forms, make few changes only:- Declare form variable without New keyword. Like, Dim Fr as Form1. And the Form1 is Inherited. Now i can do any thing with Form1. I can get any thing like Form backColor, ForColor, Size, Location, etc. Like you can see it in my " Floating Control Box" Article (named - Window Control 1.0). It was very hard use Inheritance in Visual Basic 6.0. But known it is very ease to use Inheritance. -- modified at 5:59 Sunday 19th March, 2006

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      :wtf: Is there is a point to this little speech of yours? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      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