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. Get value into 3 form

Get value into 3 form

Scheduled Pinned Locked Moved Visual Basic
helptutorialquestion
3 Posts 3 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.
  • T Offline
    T Offline
    tungcan5diop
    wrote on last edited by
    #1

    Hi all. I have a question for guys. I have a Form1 include Button2,Button3. When i Click Button2 it's show Form2 and when i click Buttton3 on Form2 it's show Form3,and input data into a Textbox and click Button OK in From3,so data tranform from Form3 to Form2,and Click Button OK on Form2, so data tranform from Form2 to From1.Plz help me how to do it.

    if you cound not try then msgbox("you will lose") else msgbox("you can change yourself") end if

    D J 2 Replies Last reply
    0
    • T tungcan5diop

      Hi all. I have a question for guys. I have a Form1 include Button2,Button3. When i Click Button2 it's show Form2 and when i click Buttton3 on Form2 it's show Form3,and input data into a Textbox and click Button OK in From3,so data tranform from Form3 to Form2,and Click Button OK on Form2, so data tranform from Form2 to From1.Plz help me how to do it.

      if you cound not try then msgbox("you will lose") else msgbox("you can change yourself") end if

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      You can use properties for this.

      "If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be 'meetings'." - Dave Barry

      1 Reply Last reply
      0
      • T tungcan5diop

        Hi all. I have a question for guys. I have a Form1 include Button2,Button3. When i Click Button2 it's show Form2 and when i click Buttton3 on Form2 it's show Form3,and input data into a Textbox and click Button OK in From3,so data tranform from Form3 to Form2,and Click Button OK on Form2, so data tranform from Form2 to From1.Plz help me how to do it.

        if you cound not try then msgbox("you will lose") else msgbox("you can change yourself") end if

        J Offline
        J Offline
        John_Adams
        wrote on last edited by
        #3

        Hi, The one of the ways to do this could be create a class (say class1) and declare a Public Static (Shared in VB.net) variable and store the text of TextBox on form three in that Public Shared variable. This will enable you to access the variable any where in your project. Hope this helps :)

        Regards, John Adams ComponentOne LLC

        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