VLF-One Maximize Panel

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
nic.hall
Posts: 18
Joined: Sat Jan 16, 2016 4:23 am

VLF-One Maximize Panel

Post by nic.hall »

In VLF-One, we have business objects with no filter and a RAMP command handler as a business object command.

When the panel is displayed it is only using part of the available display space.

We would like the panel to "maximize" and use all available space.

How can this be implemented?
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: VLF-One Maximize Panel

Post by MarkD »

In a normal command handler you would use #Com_Owner.avPaneMaximize https://docs.lansa.com/14/en/lansa048/i ... 8_7100.htm to do that.

The problem here is that the generic command handler for a RAMP session is not normal, nor something you have sufficient access to until the upcoming EPC142005 VLF version is released.

The new version has a bunch of new IIP method that allow you to more closely control RAMP sessions programmatically - https://docs.lansa.com/14/en/lansa048/i ... sa048_8220

For example avRAMP_StartSession is passed the command handler as a reference, so you could say something like:

Code: Select all

If (#CommandHandler.avAlphaArg1 = MAXIMIZE)
#CommandHandler.avPaneMaximize
Endif
If you need a solution right now on the current version please let the VLF team know.
I am sure a way could be found to do this – but it might be slightly more complicated.
nic.hall
Posts: 18
Joined: Sat Jan 16, 2016 4:23 am

Re: VLF-One Maximize Panel

Post by nic.hall »

Thanks Mark. At this point we will await the EPC.
Post Reply