Developing for Dynamics GP

by David Musgrave (Perth, WA, Australia) and the Microsoft Dynamics GP Developer Support Team (Fargo, ND, USA)

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

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

Rate This
  • Comments 20

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 

Attachment: Debugger Settings SmartList Window Size & Pane 2.dbg.zip
  • Hi David,

    This is great!!!!!!

    Regards,

    Geoff James

  • Posting from Mark Polino at DynamicAccounting.net

    msdynamicsgp.blogspot.com/.../update-resizing-smartlist-treeview-and.html

  • 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

  • Thank you, David.

  • Posting from Mohammad Daoud

    mohdaoud.blogspot.com/.../resizing-smartlist-treeview-and.html

  • Posting from Mariano Gomez, The Dynamics GP Blogster

    dynamicsgpblogster.blogspot.com/.../resizing-smartlist-panes-with-support.html

  • Hello David,

    I apologize for my ignorance, but how can I run this XML code using SDT?

    Thanks for your help

    Ignacio.

  • Hi Ignacio

    Please use Configuration Export/Import window to import the Debugger settings xml file.

    David

  • Fantastic...

  • Dear David,

    Awesome functionality!!!

    As always, you are the best and this is a great feature for many of us.

    Regards,

    Samuel Mathew

  • Posting from Mark Polino at DynamicAccounting.net

    msdynamicsgp.blogspot.com/.../the-dynamics-gp-blogster-resizing.html

  • Posting from Frank Hamelly at GP2themax

    gp2themax.blogspot.com/.../smartlist-divider-splitter-control.html

  • Posting by Mariano Gomez, The Dynamics GP Blogster

    dynamicsgpblogster.blogspot.com.au/.../the-dynamics-gp-blogsters-best-articles.html

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

  • Excellent David... Thanks

Page 1 of 2 (20 items) 12
Comments Information

PLEASE READ BEFORE POSTING

Please only post comments relating to the topic of this page.

If you wish to ask a technical question, please use the links in the links section (scroll down, on right hand side) to ask on the Newsgroups or Forums. If you ask on the Newsgroups or Forums, others in the community can respond and the answers are available for everyone in the future.

Leave a Comment
  • Please add 7 and 7 and type the answer here:
  • Post