Single FullScreen VLF-Win form

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
jtaljaard
Posts: 37
Joined: Thu Sep 21, 2023 9:29 pm

Single FullScreen VLF-Win form

Post by jtaljaard »

Hi

Just want to know if it is possible to have a single fullscreen screen wrapper displayed when executing a Form through RAMP. I don't want the Application and Business Objects section displayed:
Screenshot 2023-10-06 090413.png
Screenshot 2023-10-06 090413.png (88.7 KiB) Viewed 21021 times
Based on the example above, the red X means they shouldn't be displayed and the green tick means that is the only screen that must be shown upon launch, which is the screen wrapper.
davidbalansa
Posts: 92
Joined: Mon Feb 01, 2016 10:08 am

Re: Single FullScreen VLF-Win form

Post by davidbalansa »

Hi,

You can try this in your VLF-WIN framework:
- Create a single application with a single business level command handler. Remove everything else.
- In the User Imbedded Interface Point (IIP) component use the framework switch method to switch to your command handler in the avMainWindowReady method.
- In the framework properties set the 'Application navigation pane views' to 'Launch from status bar'
Screenshot.png
Screenshot.png (36.36 KiB) Viewed 20930 times
Hope this helps
jtaljaard
Posts: 37
Joined: Thu Sep 21, 2023 9:29 pm

Re: Single FullScreen VLF-Win form

Post by jtaljaard »

Hi David, thanks so much!

Can you explain more about what you mean:

- In the User Imbedded Interface Point (IIP) component use the framework switch method to switch to your command handler in the
avMainWindowReady method.

I found it in the Framework details:
Screenshot 2023-10-13 103545.png
Screenshot 2023-10-13 103545.png (31.16 KiB) Viewed 20860 times
jtaljaard
Posts: 37
Joined: Thu Sep 21, 2023 9:29 pm

Re: Single FullScreen VLF-Win form

Post by jtaljaard »

Can a reusable part(screen wrapper) be launched on Framework startups?
davidbalansa
Posts: 92
Joined: Mon Feb 01, 2016 10:08 am

Re: Single FullScreen VLF-Win form

Post by davidbalansa »

Responding to your previous post.

You have located the User Imbedded Interface Point in the VLFWIN properties. Copy this component and replace the properties component name with your component.

In the avMAINWindowReady add code to switch to your application / command handler. The value will be specific to your internal identifiers used for your application and command handler.
Screenshot 2023-10-26.png
Screenshot 2023-10-26.png (20.33 KiB) Viewed 16016 times
Here are some links to the avSwitch method in the documentation:

https://docs.lansa.com/15/en/lansa048/i ... _1675.htm?

https://docs.lansa.com/15/en/lansa048/i ... _1690.htm?

Hope this helps.
Post Reply