Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing one form from another form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00838901
Message ID:
00838906
Vues:
15
Try going through the _Screen.Forms collection.

for each oform in _screen.Forms
if oform.name = "form1"
oform.refresh
Exit
endif
next

I haven't done this in a while but I believe you can also try DO FOrm form1.scx name oform1. You may have to declare oForm1 as public.

There's probably a few others too.

HTH
Richard



>Hi! Don't seem to be able to get my head round this since I'm usually using thisform.whatever
>
>Why can't I refresh one form from another by typing 1stform.refresh() in a method of the 2nd form?
>
>Always tells me that 1stform is not an object?
>
>Put me out of my misery
State of Florida, DCF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform