Hello together,
is it possible, during runtime, to obtain the currently opened panel in a module (respectively the panels size) in WCC OA 3.14?
I would like to adapt the module size based on the original panel size automatically, thus I worked with "contentsHeight" of the module, but this does not provide the actual size of the loaded panel.
If theres a better way to obtain the size please let me know.
Thanks in advance and with best regards,
moTo
Obtain currently opened Panel in Module
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Obtain currently opened Panel in Module
If you want to resize a module to its original size you can use the function moduleOriginalSize().
Can you use this function to get the expected result?
Best Regards
Leopold Knipp
Senior Support Specialist
Can you use this function to get the expected result?
Best Regards
Leopold Knipp
Senior Support Specialist
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: Obtain currently opened Panel in Module
With the function 'rootPanel' the currently opened panel name can be obtained. This name could be used in the function 'panelSize'.