Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Load() and init() methods
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00011101
Message ID:
00011114
Views:
31
>I don't still really know when to use place my "init" code when loading a form or formSet, either in the init() or load() methods. Can anyone give me some advice on how and when to use one or the other?
>
>Thanks,
>Javier.
If you need to create cursor/table/view via an sql that will be used in the form/formset as part of the controlsource for any controls it will need to be done in the load so that when the controls are loaded/inited they will have a vaild source.

Parameters passed to the form must be passed with a parameter statement to the init method.

Other wise they are interchangeable.

HTH
Todd Burstain, MD
infinitydoc@delphi.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform