Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by 4ks

  1. 4ks

    One Array Multiple Types

    Thanks, yea that’s what I’ve done except i was adding additional methods into each question which weren't part of the interface so they weren’t exposed when i added the questions to the list. Thanks for the help learning slowly.
  2. 4ks

    One Array Multiple Types

    I have 2 types of questions both have similar properties, and reach use an interface to define the methods which are common to both. My array needs to contain various question type 1 and type 2 which forms the quiz. The program moves through the array of questions displaying each one based on...
  3. 4ks

    One Array Multiple Types

    What i mean is i am trying to store 2 different types of custom objects in 1 array. I have tried and array of type Object but run into problems when i then try to access methods of the individual objects as there type is not know.
  4. 4ks

    One Array Multiple Types

    Trying to store multiple types in an Array, i know it’s not possible but I am looking for a solution. What is the best way to get around this issue?
  5. 4ks

    Iterate over Collection Controls

    I am trying to iterate over all controls in a panel components collection to retrieve value from nested TextBox components. the code below produces an error. TextBox' is a 'type' but is used like a 'variable'. What is the best way to do this? public void ListControlCollection() {...

Part and Inventory Search

Back
Top