Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read parameters needed by _screen.activeform
Message
De
29/11/2016 16:51:54
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
29/11/2016 14:46:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01644104
Message ID:
01644113
Vues:
78
J'aime (1)
>Good afternoon! I have this problem, I'm calling a form that I cannot see on development mode, so I use the createobject("predefinedform") and change some of the properties, but, the form in the init event is expecting some parameters in specific order with specific values. Is there a way to see what are the parameters expected? Please remember I cannot see the code, the predefinedform is compiled inside the exe.
>Thanks in advance,.

Have the debugger open while you instantiate the form, and a breakpoint on atc(".init", program()). Then watch for the new variables which appear and have a value of what you sent it. Now to send the parameters, you can createobject("predefinedform", "#1", "#2", "#3", "#4") etc - first trying to guess the number of parameters (see how many of variables in the debugger have the values you assigned - if "#4" is not there, it takes only three parameters. Then try to vary the types of parameters, one by one. Try to guess the type from the parameter names.

It may take you dozens of attempts, but then you'll know more than you know now.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform