Allow Panes to be Shrunk and Expanded in VLF One
Allow Panes to be Shrunk and Expanded in VLF One
is there a way to shrink a filter and/or an instance list in VLF ONE to save screen space? I found an example for VLF Win but my application is in VLF One.
Re: Allow Panes to be Shrunk and Expanded in VLF One
I am assuming this is programmatic Shrink/Expand of Panes.
(The end user can minimize a pane using the minimize icon, though not the instance list or filter individually)
This section in the VLF guide explains about expansion/shrinking of panels in VLF-ONE
https://docs.lansa.com/14/en/lansa048/i ... 8_7095.htm
In VLF-ONE a filter or command handler can programmatically expand or shrink the pane it is in (avPaneMaximize, avPaneMinimize) and it can restore its pane back to its original size (avPaneRestore).
These methods are asynchronous – the request is queued up and waits for the command handler or filter that issued the instruction to finish its processing before the expand/shrink/maximize/restore is performed.
If a filter or command handler needs to maximize/minimize/restore a filter or command handler in a different pane, this can be done by signalling. The target command handler or filter listens for the signal and maximizes or minimizes or restores itself.
(The end user can minimize a pane using the minimize icon, though not the instance list or filter individually)
This section in the VLF guide explains about expansion/shrinking of panels in VLF-ONE
https://docs.lansa.com/14/en/lansa048/i ... 8_7095.htm
In VLF-ONE a filter or command handler can programmatically expand or shrink the pane it is in (avPaneMaximize, avPaneMinimize) and it can restore its pane back to its original size (avPaneRestore).
These methods are asynchronous – the request is queued up and waits for the command handler or filter that issued the instruction to finish its processing before the expand/shrink/maximize/restore is performed.
If a filter or command handler needs to maximize/minimize/restore a filter or command handler in a different pane, this can be done by signalling. The target command handler or filter listens for the signal and maximizes or minimizes or restores itself.
Re: Allow Panes to be Shrunk and Expanded in VLF One
It is when a user clicks on something to shrink or expand the pane similar to VLF Win and how the documentation link can hide or show the contents pane to full screen. Where would i put avPaneMaximize, avPaneMinimize,avPaneRestore? Could it be in a click event on a pane i add to the right side of a filter?
Thanks for the help.
Thanks for the help.
Re: Allow Panes to be Shrunk and Expanded in VLF One
Yes - it could be in a click event handler in the filter, or the filter could have a routine that listens for a signal, and in that routine it could use #Com_Owner.PaneMinimize.
Re: Allow Panes to be Shrunk and Expanded in VLF One
avPaneMaximize and Minimize did not do what i wanted. I want the pane to stay but be smaller when you click an icon. I can get the pane to shrink but the filter size stays the same. Any thoughts?
I want it similar to this What it does look like is this below:
I want it similar to this What it does look like is this below:
Re: Allow Panes to be Shrunk and Expanded in VLF One
A new VLF version (EPC152057) version is due out soon.
It includes this new feature .....
It includes this new feature .....