Freigeben über


Update: Resizing SmartList TreeView and ListView panes using the Support Debugging Tool

David Meego - Click for blog homepageAs 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.

 

  

 

Notes:

  • 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.

David 

Debugger Settings SmartList Window Size & Pane 2.dbg.zip

Comments

  • Anonymous
    December 05, 2012
    Hi David, This is great!!!!!! Regards, Geoff James

  • Anonymous
    December 05, 2012
    Posting from Mark Polino at DynamicAccounting.net msdynamicsgp.blogspot.com/.../update-resizing-smartlist-treeview-and.html

  • Anonymous
    December 05, 2012
    Hi David, The cool factor on this is off the charts!!! Leave it to the wizard of all things Dexterity to do what 'they' said couldn't be done! You are our hero. You're my hero anyway. BRAVO Leslie

  • Anonymous
    December 05, 2012
    Thank you, David.

  • Anonymous
    December 05, 2012
    The comment has been removed

  • Anonymous
    December 06, 2012
    Posting from Mariano Gomez, The Dynamics GP Blogster dynamicsgpblogster.blogspot.com/.../resizing-smartlist-panes-with-support.html

  • Anonymous
    December 07, 2012
    Hello David, I apologize for my ignorance, but how can I run this XML code using SDT? Thanks for your help Ignacio.

  • Anonymous
    December 07, 2012
    Hi Ignacio Please use Configuration Export/Import window to import the Debugger settings xml file. David

  • Anonymous
    December 08, 2012
    Fantastic...

  • Anonymous
    December 12, 2012
    Dear David, Awesome functionality!!! As always, you are the best and this is a great feature for many of us. Regards, Samuel Mathew

  • Anonymous
    December 17, 2012
    Posting from Mark Polino at DynamicAccounting.net msdynamicsgp.blogspot.com/.../the-dynamics-gp-blogster-resizing.html

  • Anonymous
    December 17, 2012
    Posting from Frank Hamelly at GP2themax gp2themax.blogspot.com/.../smartlist-divider-splitter-control.html

  • Anonymous
    January 04, 2013
    Posting by Mariano Gomez, The Dynamics GP Blogster dynamicsgpblogster.blogspot.com.au/.../the-dynamics-gp-blogsters-best-articles.html

  • Anonymous
    January 09, 2013
    This is a great add on thank you!! What I found is that it still creates a log for each user is there a way to stop it from logging?  I know the trigger is set to non-logging trigger. 1/10/2013 10:25:31 AM: ** Start of Log ** 1/10/2013 10:25:31 AM: Version: 11.00.0014, Last Modified: 25-Nov-2010. 1/10/2013 10:25:31 AM: Automatic Debugger Mode Trigger SMARTLIST_ACT, Name: SmartList Window Add Splitter a 1/10/2013 10:25:31 AM: Automatic Debugger Mode Trigger SMARTLIST_ACT Not Logging 1/10/2013 10:25:31 AM: Window ASI_Explorer of Form ASI_Explorer in Dictionary 1493 1/10/2013 10:25:31 AM: Automatic Debugger Mode Trigger SMARTLIST_ACT Registered 1/10/2013 10:25:31 AM: Automatic Debugger Mode Trigger SMARTLIST_POST, Name: SmartList Window Store Size 1/10/2013 10:25:31 AM: Automatic Debugger Mode Trigger SMARTLIST_POST Not Logging 1/10/2013 10:25:31 AM: Window ASI_Explorer of Form ASI_Explorer in Dictionary 1493 1/10/2013 10:25:31 AM: Automatic Debugger Mode Trigger SMARTLIST_POST Registered 1/10/2013 10:25:31 AM: Automatic Debugger Mode Trigger SMARTLIST_PRE, Name: SmartList Window Restore Size & 1/10/2013 10:25:31 AM: Automatic Debugger Mode Trigger SMARTLIST_PRE Not Logging 1/10/2013 10:25:31 AM: Form  in Dictionary ASI_Explorer 1/10/2013 10:25:31 AM: Automatic Debugger Mode Trigger SMARTLIST_PRE Registered 1/10/2013 10:25:31 AM: ** End of Log  **

  • Anonymous
    May 23, 2013
    Excellent David... Thanks

  • Anonymous
    June 16, 2013
    Hello David, This is great functionality and yet another one of your invaluable contributions. There's a problem however when you have smartlists created with SmartList Builder.  It causes all such Smartlists to lose their GoTo functionality.   Is there a way to remove this control from the SDT?

  • Anonymous
    June 16, 2013
    Hi Wassim I have heard about the SmartList Builder Go To issue before, but cannot explain it at this stage. To disable the SDT code, you can go into Setup Automatic Debugger Mode from the Options menu (as long as Advanced Mode is enabled) and either change the triggers to be disabled, not automatic start, or delete them. David

  • Anonymous
    June 16, 2013
    Thanks. Looking forward to hear that you have found the problem, since the splitter is so much handy. Wassim

  • Anonymous
    September 17, 2013
    Posting from Mariano Gomez, The Dynamics GP Blogster dynamicsgpblogster.blogspot.com.au/.../microsoft-dynamics-gp-2013-service-pack.html

  • Anonymous
    April 02, 2014
    Posting from Mark Polino at DynamicAccounting.net mpolino.com/.../weekly-dynamic-smartlist