A customer recently ran across an oddity on several (but not all) of their new Windows 7 machines. The previous Windows XP machines being replaced were OK.
The issue was that on windows with scrolling windows, they noticed that the rightmost fields were partially obscured by the scrolling window scrollbar.
The screenshot below shows the issue in Sales Transaction Entry.
We can clearly see that the hundredths digit is fully obscured as well as about one half of the tenths digit.
Looking more closely (and I'll admit that I didn't as the users didn't complain about it!), we can see that the menu items are also larger than normal. Had I noticed that I might have thought about this previous article and I could have saved myself a bit of research. But then again the symptoms were not exact and either way I wouldn't have discovered this item of interest.
We might have assumed that the value is hard coded - but since we can see the scrollbar size is changed then obviously not.
So the question is, what determines how wide a scrollbar is drawn by Dexterity?
Like many of the settings of the GP UI, we ask Windows. To get the scrollbar width value by using the GetSystemMetrics API function and passing it SM_CXVSCROLL.
By running the C# code snippet below, I determined that my setting (and apparently the default size for most) for this metric is 17.
Nice post! Really informative! Now, if only we could really get a [complete] list of all those obsucure dex.ini keys...
Mariano Gomez, MVP
Posting from Mark Polino at DynamicAccounting.net
Posting from Janakiram at DynamicsBlogger
Leslie Vail has created a very cool PDF showing all the useful INI settings.
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.