>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