This is a reposting of an article I originally wrote on my Developing for Dynamics GP blog.
As promised in my post Quick Tip: Creating a Splitter control between panes of a window with Dexterity, I have updated the concept of my previous post: Resizing SmartList TreeView and ListView panes using the Support Debugging Tool to use a Splitter control rather than selecting a percentage via a menu option.
In this example, I am using some un-supported techniques with the Support Debugging Tool, so test this out thoroughly on your test environment before rolling it out in a live environment.
Disclaimer: The code used in this example uses the Splitter control and Virtual Fields, both of which are untested, undocumented and unsupported. Use at your own risk. Also Splitters will not work with the upcoming Dynamics GP 2013 Web Client
Here is the splitter in action on the SmartList window. Note the change of the mouse cursor while hovering over the dividing line between the left hand TreeView and right hand ListView controls.
This code is designed to work with the original SmartList window, it might not work properly on a modified version of the window.
If you resize the window to make it smaller, it is possible to make a pane disappear as the window resizes. To resolve, either make the window bigger again and adjust the splitter before sizing it down again, or close and re-open the window and the code will set the pane to the mimimum size allowed for the size of the window.
The Support Debugging Tool Debugger Settings file with these triggers is attached as an archive to the bottom of this post.
Please let me know what you think by providing feedback as comments on this article.
This article was originally posted on the Developing for Dynamics GP Blog and has been reposted on http://www.winthropdc.com/blog.