Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form NOT executed form a program
Message
De
13/09/2006 14:06:36
 
 
À
13/09/2006 13:28:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01153405
Message ID:
01153460
Vues:
28
>>Thanks for responding.
>>
>>>So what line does it stop on? Or does it actually get to x = 1? What happens next?
>>>
>>
>>It runs the init method then exists the form, that is it gets to x = 1 and then exits the form.
>
>I noticed you have:
>
>m.glValid = .F.

Sane thing happens if I take out. it is a gloabl vairable. I set it to .T. if user eneters a correct id and passoword in a lost focus method.
>
>You don't return this from Init(), do you. Init returning false causes form abortion.
>
>
>>
>>>Why not just set a breakpoint at the 1st line of Init() and watch what happens in debug (or are you still on VFP3)?
>>>
>>
>>I used the debugger to find out what was happening, I set a break point in the program which invokes it. I am using VFP 9.
>
>Fair enough
>
>>
>>>UIt's likely that till Init() is done, the form doesn't "know" its objects, such as Thisform.lblErrorMsg.
>>
>>So what do I do now?
>
>Not applicable in this case, if it gets to x = 1.
>
>Apart from the above, I'm stumped too.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform