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. C#
  4. Array of Tab Pages problem

Array of Tab Pages problem

Scheduled Pinned Locked Moved C#
data-structureshelpquestion
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.
  • M Offline
    M Offline
    MicealG
    wrote on last edited by
    #1

    My problem is that I need to create an array of tabbed pages so that I can reference each pages components. But when I do create the array I can't access the components, can anyone give me a hand?

    Freedom is the right to say that 2+2=5 if this is so everything else will follow.

    C 1 Reply Last reply
    0
    • M MicealG

      My problem is that I need to create an array of tabbed pages so that I can reference each pages components. But when I do create the array I can't access the components, can anyone give me a hand?

      Freedom is the right to say that 2+2=5 if this is so everything else will follow.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Each element in your array needs to be of the type of a control that you create to include those components. If it's an instance of the tab page, then it's just going to have the standard tab page elements. And that means you need an array of tab pages, and to cast each one as you need to. I think you need to reconsider your design.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      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