Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two Problems and some questions
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00452369
Message ID:
00452424
Views:
18
Allan,
to tackle the stuff James didnt touch on:

>Q2 The phrase "IF NOT DODEFAULT()" is used quite often in the code, does this mean if there is no code in the parent method a .F. is returned?

No. Methods return a true by default in VFP, even when there isn't code up in there. Typically though, whenever you see a DODEFAULT call the framework is doing something at a high level. Using the first toolbar button on the superclass class utility allows you to take a look-see at parent code.

>Q3 You recommend using the PostInitHook() method in the bizobj to call AddViewParameter. Correct me if I am wrong, but isn't this only called once when the init is run? If the item on page one of a pageframe is changed will the AddViewParameter be updated?. Where is the best place to requery the the view conserned?

AddViewParameter creates your parameter, so you really only need to create it once if your not hard-coding values (typically you want to follow doc examples and store parameter values to an object property, then just create the param to pint at that property). Following the doc examples and storing you view parameter values to an object properties means you view param is automatically updated on requery and that should eliminate your concerns with requery in this question (i think).

>Q4 How can I look at other questions and answers brought up by other MMortals users? or a Frequenly Asked Questions section?

Ue the calendar button on the left frame here in UT. from the calendar interface, set the category to Third party products The Mere Mortals Framework and then browse around by date.

HTH
Roxanne M. Seibert
Independent Consultant, VFP MCP

Code Monkey Like Fritos
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform