reuse form objects like a class

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • matt

    reuse form objects like a class

    is there a way to reuse form objects like you would code in a class? Say i
    havea groupbox with severl things in it, and i want to display this group
    box and components 5 times on the screen, is there a way to declare it and
    set the parameters for each one? like box1.label1.tex t = asdf,
    box2.label1.tex t = text and change the location of each box1.

    thanks,


  • Herfried K. Wagner [MVP]

    #2
    Re: reuse form objects like a class

    "matt" <nospam@nobody. com> schrieb:[color=blue]
    > is there a way to reuse form objects like you would code in a class? Say
    > i havea groupbox with severl things in it, and i want to display this
    > group box and components 5 times on the screen, is there a way to declare
    > it and set the parameters for each one? like box1.label1.tex t = asdf,
    > box2.label1.tex t = text and change the location of each box1.[/color]

    "Project" -> "Add user control...".

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    • matt

      #3
      Re: reuse form objects like a class


      "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
      news:u3Nt4%23hG GHA.344@TK2MSFT NGP11.phx.gbl.. .[color=blue]
      > "matt" <nospam@nobody. com> schrieb:[color=green]
      >> is there a way to reuse form objects like you would code in a class? Say
      >> i havea groupbox with severl things in it, and i want to display this
      >> group box and components 5 times on the screen, is there a way to declare
      >> it and set the parameters for each one? like box1.label1.tex t = asdf,
      >> box2.label1.tex t = text and change the location of each box1.[/color]
      >
      > "Project" -> "Add user control...".
      >[/color]
      Wow, quick response and EXACTLY what i was looking for. Thanks!


      Comment

      Working...