Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page.Activate fires if any object Sets Focus
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00642790
Message ID:
00643061
Views:
16
>Ok, this is weird:
>
>Here is an Add() method of the form:
>
>set step on
>if thisform.EditMode and dodefault() && in Edit Mode this method means save
>   thisform.SaveProceed() && Some additional actions, after the record was saved
>else
>   dodefault() && Add method
>endif
In this case dodefault() fires in the IF statement in order to get the logical condition, then fires again in the ELSE if either condition is .F.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform