Page 1 of 1

Any way to force RAMP to open the commands maximized?

Posted: Thu Jun 10, 2021 5:35 am
by Dino
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?

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

Posted: Sun Jun 13, 2021 10:28 am
by MarkDale
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?