Thread: Form problem

    #1
  1. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Location
    Hong Kong
    Posts
    71
    Rep Power
    15

    Form problem


    When I use the mdi form, I cannot pass the value to the caller.

    The child form A call form B, form B need to pass the value back to form A.

    --------------------------------------------------
    I try this code in form B, but it will create a new form(form A2):

    form_a.text1.text = "abc"
    --------------------------------------------------

    What should I do?
    RayRay p(^_^)q
  2. #2
  3. /(bb|[^b]{2})/

    Join Date
    Nov 2001
    Location
    Somewhere in the great unknown
    Posts
    5,163
    Rep Power
    792
    you have to make sure that the form is loaded and the variable that you are trying to set is public.
    then it is no problem, form1.somevariable = somevalue

IMN logo majestic logo threadwatch logo seochat tools logo