Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form refresh problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00337991
Message ID:
00337997
Vues:
11
>I have three forms. Form1, Form2, Form3. I start Form1 from a program "do form Form1".
>On Form1 there is a command button that starts Form2 - "do form Form2". On Form2
>there is a command button that starts Form3 - "do form Form3". With Form3 active
>I press another command button that has the code "Form1.refresh". That works fine.
>There is yet another command button that the code "Form2.refresh". When I press
>that button I get an error that says "Object Form2 not found". What am I doing wrong?

Joe, try to run your forms using NAME clause and address them by that name.

DO form myForm1 NAME FirstForm
FirstForm.Refresh()
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform