Any way to force RAMP to open the commands maximized?

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
User avatar
Dino
Posts: 133
Joined: Fri Jul 19, 2019 7:49 am
Location: Robbinsville, NC
Contact:

Any way to force RAMP to open the commands maximized?

Post by Dino » Thu Jun 10, 2021 5:35 am

I can have a VLF-ONE command maximized, calling the #COM_ANCESTOR.avPaneMaximize

Code: Select all

Mthroutine Name(uInitialize) Options(*REDEFINE)
* Do ancestor first
#COM_ANCESTOR.uInitialize
#COM_ANCESTOR.avPaneMaximize
* Custom code here ....
Endroutine
any one know how can I do the same with the RAMP VF_CH006O command handler reusable part component?

MarkDale
Posts: 109
Joined: Wed Dec 02, 2015 10:06 am

Re: Any way to force RAMP to open the commands maximized?

Post by MarkDale » Sun Jun 13, 2021 10:28 am

I think avPaneMaximize is in VF_AC034O

Your code works for command handlers because VF_AC034O is the direct ancestor of VF_AC010O (command handlers ancestor)

but VF_AC034O is further up for VF_CH006O (the ancestor of the ancestor)

Would Com_Owner.avPaneMaximize work for VF_CH006O?

Post Reply