Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing objects
Message
De
31/05/1999 08:57:21
 
 
À
31/05/1999 08:53:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00224632
Message ID:
00224634
Vues:
25
>I put "on key label F5" in the Load method of my form. Well, it seems to work OK, but there is a problem. If I want to do some action and recalculate some values on my form, I'd like to refresh them what works proprely with ThisForm.object.refresh().
>
>The problem is that "on key labels" works outside this form and I tried with a sub-program: ON KEY LABEL F5 DO subpr.prg, but from there I can't refresh objects on my form using ThisForm.object.refresh(). So, I tried directly with Form1.Object.Refresh ("Form1" is the name of my form), but then I received an error "Object Form1 not found".
>
>What am I doing wrong? How could objects be refresh from an external program, not directly from own methods of form?
>
>
>Thanks a lot, Zlatko.

Try _SCREEN.ActiveForm.MyMethod()or _SCREEN.MyForm.MyMethod()
Vlad-Georg
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform