Page 1 of 1
VLF-One Maximize Panel
Posted: Sat Mar 24, 2018 3:53 am
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?
Re: VLF-One Maximize Panel
Posted: Mon Mar 26, 2018 9:18 am
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.
Re: VLF-One Maximize Panel
Posted: Tue Mar 27, 2018 1:59 am
by nic.hall
Thanks Mark. At this point we will await the EPC.