Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Catch 22
Message
From
20/05/1999 19:10:48
 
 
To
20/05/1999 15:19:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00221090
Message ID:
00221200
Views:
15
>I have a new situation that I am trying to put together a smooth strategy for.
>

I am curious... do you want the application form to come up either way? Or, you want the registry to come up as Top Level?

My advice would be, don't call the Registry form from the Init, call it from another method (do) in your app object.

So, your main.prg would be something like...
public goApp
goApp = create('cApplication')

if vartype( goApp ) == "O"
if goApp.Do
read events
endif
endif

Then your do could do something like...
local llRetVal
llRetVal = This.CheckRegistrySettings()
*continue initing your ap object level services here...
if llRetVal
llRetVal = this.LoadFormsManager()
endif
if llRetVal
llRetVal = this.LoadBizObjManager()
endif

return llRetVal

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform