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. Collection Objects

Collection Objects

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

    Hello everybody, How can I implement navigation methods such as MovePrevious on collection objects in Visual Basic 6.0? Also, is there a fast way to search a collection object on some attributes of classes it stores, other than keys or ids? Regards, Roozbeh.

    J 1 Reply Last reply
    0
    • R Roozbeh69

      Hello everybody, How can I implement navigation methods such as MovePrevious on collection objects in Visual Basic 6.0? Also, is there a fast way to search a collection object on some attributes of classes it stores, other than keys or ids? Regards, Roozbeh.

      J Offline
      J Offline
      John Kuhn
      wrote on last edited by
      #2

      Here are the options I know of: 1) You can write your own custom class that "inherits" the VB6 collection object. Of course VB6 doesn't really inherit, you simply wrap calls to the collection object with methods of your own class (is that a wrapper or a decorator...) 2) You can write a method of that class that searches through the collection for a particular value. 3) You can look around for a custom control or library written by someone else.

      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