Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DoDefault not working - WHY?
Message
From
13/08/1999 18:21:42
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
 
 
To
13/08/1999 18:17:55
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00253629
Message ID:
00253674
Views:
23
Found it... don't understand why, but found it....

Should be THIS.PARENT.ADDMODE

That triggered some sort of error in the processing routine for the DODEFAULT that caused all the code to continue to be cancelled and the database to be reverted.




>I think that's what I am going to try next as well although as a relatively new VFP programmer, I've never stepped through a VFP app before. I have on 'C' apps so I understand the concept. I'm going to see what happens with and without those lines commented and compare it.
>
>
>>>Dan,
>>>
>>>After the MessageBox cleared, the WAIT WINDOW box showed up. Once I cleared that, nothing changed on the form like it should have.
>>>
>>>
>>>
>>>>>Dan,
>>>>>
>>>>>Tried that, didn't work. The THIS.ENDIF is just a property on the toolbar that is .T. or .F.
>>>>>
>>>>
>>>>Odd. Try adding any line of code prior to the dodefault()
>>>>WAIT WINDOW "Before DODEFAULT"
>>
>>I would definitely step through. You said this was wizard buttons correct? Maybe somethings happening to the _SCREEN.ActiveForm. Just a guess.
Peter Brama
West Pointe Enterprises

VFP is getting easier but STILL alot to learn!!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform