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 find form with tag???

How to find form with tag???

Scheduled Pinned Locked Moved Visual Basic
7 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.
  • F Offline
    F Offline
    FeRtoll
    wrote on last edited by
    #1

    I have one form that is called "form1" and when you click on the button "View Code" the other form called "code" pops up each time you click on button with different tag on it. So now i have 3 forms "code" and how can i find form that tag is "fire". :~ Thanks!!!

    FeRtoll Software.net ------------ E-Mail me WebPage

    C D 2 Replies Last reply
    0
    • F FeRtoll

      I have one form that is called "form1" and when you click on the button "View Code" the other form called "code" pops up each time you click on button with different tag on it. So now i have 3 forms "code" and how can i find form that tag is "fire". :~ Thanks!!!

      FeRtoll Software.net ------------ E-Mail me WebPage

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

      I'm not sure I follow, but you have a collection of all forms open on the Application object. You can also build your own collection, or use delegates to communicate between forms.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • F FeRtoll

        I have one form that is called "form1" and when you click on the button "View Code" the other form called "code" pops up each time you click on button with different tag on it. So now i have 3 forms "code" and how can i find form that tag is "fire". :~ Thanks!!!

        FeRtoll Software.net ------------ E-Mail me WebPage

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        Uhhh.... What?? :confused:

        Dave Kreskowiak Microsoft MVP - Visual Basic

        F 1 Reply Last reply
        0
        • D Dave Kreskowiak

          Uhhh.... What?? :confused:

          Dave Kreskowiak Microsoft MVP - Visual Basic

          F Offline
          F Offline
          FeRtoll
          wrote on last edited by
          #4

          Dave Kreskowiak wrote:

          Uhhh.... What??

          you just don't want to help me right? Dim frm As Form For Each frm In My.Application.OpenForms If frm.Tag = FormCodeTag Then frm.Activate() end if Next

          FeRtoll Software.net ------------ E-Mail me WebPage

          D 1 Reply Last reply
          0
          • F FeRtoll

            Dave Kreskowiak wrote:

            Uhhh.... What??

            you just don't want to help me right? Dim frm As Form For Each frm In My.Application.OpenForms If frm.Tag = FormCodeTag Then frm.Activate() end if Next

            FeRtoll Software.net ------------ E-Mail me WebPage

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            FeRtoll wrote:

            you just don't want to help me right?

            No, what your wrote made absolutely no sense what-so-ever, and I'm not the only one who said so. Yes, I remember who you are and what you did...

            Dave Kreskowiak Microsoft MVP - Visual Basic

            F 1 Reply Last reply
            0
            • D Dave Kreskowiak

              FeRtoll wrote:

              you just don't want to help me right?

              No, what your wrote made absolutely no sense what-so-ever, and I'm not the only one who said so. Yes, I remember who you are and what you did...

              Dave Kreskowiak Microsoft MVP - Visual Basic

              F Offline
              F Offline
              FeRtoll
              wrote on last edited by
              #6

              well then you know that i am from Croatia and my English is bad... And what i did? i did nothing... it was the same as now!!! ^ you don't understand me well!!! Sorry.

              FeRtoll Software.net ------------ E-Mail me WebPage

              D 1 Reply Last reply
              0
              • F FeRtoll

                well then you know that i am from Croatia and my English is bad... And what i did? i did nothing... it was the same as now!!! ^ you don't understand me well!!! Sorry.

                FeRtoll Software.net ------------ E-Mail me WebPage

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                This...[^]

                Dave Kreskowiak Microsoft MVP - Visual Basic

                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