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. how to control 2 frames by 2 option buttons?

how to control 2 frames by 2 option buttons?

Scheduled Pinned Locked Moved Visual Basic
tutorialquestion
4 Posts 4 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.
  • Z Offline
    Z Offline
    zhiyuan16
    wrote on last edited by
    #1

    dear all i would like to create an application: i wanna use 2 options buttons to control 2 frames, when i click option1, the frame1 will be activitaed, otherwise frame2 will be activitated. thanks a lot how to control by 2 options' button. thanks

    G C D 3 Replies Last reply
    0
    • Z zhiyuan16

      dear all i would like to create an application: i wanna use 2 options buttons to control 2 frames, when i click option1, the frame1 will be activitaed, otherwise frame2 will be activitated. thanks a lot how to control by 2 options' button. thanks

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      You have to be a bit more specific. What kind of application is it? Is it a windows form application or a web application? What do you mean with a "options button"? What kind of frames are you talking about, and what should happen when they are activated?

      Despite everything, the person most likely to be fooling you next is yourself.

      1 Reply Last reply
      0
      • Z zhiyuan16

        dear all i would like to create an application: i wanna use 2 options buttons to control 2 frames, when i click option1, the frame1 will be activitaed, otherwise frame2 will be activitated. thanks a lot how to control by 2 options' button. thanks

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

        What part is confusing you ? What do you mean by 'frames' ? You would have event handlers for your buttons and these would activate/show your 'frames'

        Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

        1 Reply Last reply
        0
        • Z zhiyuan16

          dear all i would like to create an application: i wanna use 2 options buttons to control 2 frames, when i click option1, the frame1 will be activitaed, otherwise frame2 will be activitated. thanks a lot how to control by 2 options' button. thanks

          D Offline
          D Offline
          Dalek Dave
          wrote on last edited by
          #4

          Button1_on click etc Frame1.show Button2_on click etc Frame2.show

          ------------------------------------ "I am always serious about what I do, not necessarily about how I do it." Tom Baker

          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