Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ExecScript + ThisForm
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
ExecScript + ThisForm
Divers
Thread ID:
00797642
Message ID:
00797642
Vues:
64
Hi!

I have a form with one method called Impressao.
In this method, I have one line like this:
ExecScript(FileToStr("Relatorio.PRG"))
The instruction works fine... The file Relatorio.PRG has something like that:
Report Form MeuRelatorio To Printer NoConsole
It works great too... The problem is, inside MeuRelatorio, I have one field that need read a property from the form. Example:
ThisForm.Title
When VFP runs it, I received a message erro like "ThisForm just be called from a method")!

How to round it?

[]s
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform