Results 1 to 4 of 4

Thread: How do you pass an argument between two forms??

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Location
    Posts
    52
    Does anyone know how to pass argument between two forms? Thanks!
    Marci Sarwan

  2. #2
    Lively Member
    Join Date
    Apr 2000
    Location
    Rafaela (Argentine)
    Posts
    107

    Unhappy Hmmm...

    There isn't a formal way to do it. You have to use global variables.

  3. #3
    Guest

    Answer

    there is a way.
    You can work with property. Example

    Private mstrMyArgument as string

    Public Property Let MyArgument(Value as String)
    mstrMyArgument=Value
    End Property

    Public Property Get MyArgument() as string
    MyArgument=mstrMyArgument
    End Property


    statmend to set

    form1.MyArgument="Hello world"


  4. #4
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Form1.Text1=Form2.Text1
    Form1.caption = text1
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

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