Results 1 to 2 of 2

Thread: adding and removing controls at rign time

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2002
    Posts
    30

    Question adding and removing controls at rign time

    Hello sir,

    I want to make a treeview


    It is leftside it is tree view.when i click on frame1 then that frame on display on right side place.
    And next i pressed frame2 then frame1 disable and frame2 will be show how can i do... I want to add and remove frame controls through treeview clicks at run time..

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    If you make one frame and set it's index to 0 then you can just load new instances of the frame into a control array using Load frame1. Although it may be easier if you could just use the visible property and set them all in place making some visible/invisible at runtime with the treeview clicks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width