Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mysterious ControlSource
Message
De
13/02/2016 02:43:15
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
12/02/2016 16:58:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01631406
Message ID:
01631419
Vues:
94
>>You can add
>>
>>=messagebox(vartype(aaa))
>>
>>in the form's Init.
>
>I see... Thanks for your help. It's a public variable, as evidenced by DISPLAY MEMORY. I didn't know that the variables were created automagically, and the help topic for "ControlSource" doesn't mention it.

Hilmar,

some process needs to create the variable.

Trace it down:

on app start
CLEAR ALL
DEBUG
SUSPEND
Now debugger should be open, no variable should exist
in watch window add type('aaa') It should show 'U'
Click the left border next to TYPE to set a breakpoint
run the app. As soon as the variable is created, the debugger should stop.

Update:

if this creates with the IDE,

start vfp.exe with an additional fpw config file, the config should start a prg what itself does the lines above.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform