03-11-2024 07:52 AM - edited 03-11-2024 07:56 AM
GitHub - HopeHarrison/PaneRelief does advanced splitters stuff, not supported by scripting. I think it's origins are the frustration that you can't change splitter style, so it might not actually delete a splitter (only change a byte\flag in the VI data). If there is a way to get this done, that might be a good place to start looking.
It does some pretty nasty things to achieve this.
Bob's suggestion (to use a SubPanel that loads a (reentrant) VI with a splitter and 2 SubPanels) does work, but it's a means to a shared end (dynamic splitters), not a 1-1 replacement for the scripting, that has a very specific use case.
03-12-2024 08:02 AM
03-12-2024 11:08 AM
@raphschru wrote:
Thanks, I've looked into the code. The low-level VI manipulations are quite insane indeed! While I see how this could be used to change a flag, removing a splitter would require changing the entire FP structure, which is yet another level of hacking into the internal structure...
Yes, I hope I didn't get your hopes up.
Modifying the FP heap (this rigorously) is probably not enough either. There are probably other structures (LVDS?) that also need adjustment...