Page 1 of 1

VLF-ONE - the framework as the application.

Posted: Tue May 24, 2016 12:04 pm
by andrewhiom
hi,

rather than have one or more applications defined within my framework, i would like the framework to effectively be the application, with its business objects at the "top level".

i did think that if i had only one application defined, the framework might recognise this and not require me to select the application, but no.

is there a setting i'm missing to achieve this, or a workaround, or is this something that may be in a future release?

Re: VLF-ONE - the framework as the application.

Posted: Tue May 24, 2016 12:18 pm
by MarkD
Your framework has an Imbedded interface point (IIP) identified on the (Framework) -> (Properties) -> Framework Details tab.
For example, the shipped demo uses reusable part DF_OSYSTM as its IIP.

In your framework's IIP try adding this code to the avMAINWindowReady method:

#AVFRAMEWORKMANAGER.avSwitch Toobjectnamed(<APPLICATION NAME>) Caller(*null)

That should cause the application to be automatically selected as you start up.
The application name is the User Object Name/Type you assign to your application.

Re: VLF-ONE - the framework as the application.

Posted: Tue May 24, 2016 12:57 pm
by andrewhiom
thanks - hadn't got that far in my reading of the user guide :oops: