General information
Category:
Coding, syntax & commands
>>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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only