dynmaic checkbox handling

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gireesh21
    New Member
    • Apr 2007
    • 15

    dynmaic checkbox handling

    hi all,

    i am doing coding in VB.net(2005), i need to display the data in hash table that i get from another form to this form with checkbox in front (the data in hash table is dynamically changes) so i need dynamic check box, i done up to this point but ofter that i need to check for the checkbox.checke d how i can do that
    please help me,

    thanks in advance
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    I am not entirely sure what you are asking, could you please rephrase your question, and give us a little more information about your system so that we will better understand what you need?

    Thanks,
    Motoma

    Comment

    • gireesh21
      New Member
      • Apr 2007
      • 15

      #3
      thank you for your replay

      ok, i will explain in detail in my application i need to take data(connection details) from the main form & display it on another form (for multiple connections)
      that i am done, here i am using the hash table to store data(connection details) & use it for displaying but for disconnecting i need dynamic check box so that which connection want i will disconnect.

      i think this is enough.

      Comment

      • leela mn
        New Member
        • May 2007
        • 43

        #4
        how r u creating the dynamic checkboxes?????
        r u using panel.controls. add????

        Comment

        • weberwhennner
          New Member
          • Dec 2006
          • 13

          #5
          Originally posted by gireesh21
          thank you for your replay

          ok, i will explain in detail in my application i need to take data(connection details) from the main form & display it on another form (for multiple connections)
          that i am done, here i am using the hash table to store data(connection details) & use it for displaying but for disconnecting i need dynamic check box so that which connection want i will disconnect.

          i think this is enough.
          Girish,

          You would basically need to override the onActivate or onLoad function for the form that would display the check boxes. This way, everytime the hashtable is altered, the new form would display the checkboxes.

          If you arent sure how to create on dynamically here how:

          declare x,y variable
          iterate through the keys
          instantiate a check box
          set location to x,y
          set text and size information
          add control to the form/container
          increment x,y
          end iteration

          Comment

          • gireesh21
            New Member
            • Apr 2007
            • 15

            #6
            thank you all,


            this is enough information so that i can create dynamic checkbox

            once again thank you.

            Comment

            Working...