Kanade's Delphi Stuff
Delphi Tips, Sample code and Tools
Copyright © 1997-2004, Sanjay Kanade
 
  Tips and Tricks on Delphi
Please read the DISCLAIMER before you use any of the tips from this web site. Go to main index
  Delphi Tips: Unexpected problems
Tip 73:  Converting access violation addresses
(modified: 08 Feb 2004)


Tip 41:  How do your dialogs look on Large Fonts?
(modified: 08 Feb 2001)


Tip 42:  Combo box surprises
(modified: 08 Feb 2001)


  73: Converting access violation addresses
Date added/modified: 08 Feb 2004

See this article: http://www.haydenr.com/delphi/articles/article002.htm

Another link: http://www.undu.com/Articles/010729d.html

  41: How do your dialogs look on Large Fonts?
Date added/modified: 08 Feb 2001

I discovered this very recently!

Have you ever tested how your application dialogs look on a higher resolution with "Large fonts?" Just setting the dialog fonts to Arial, 8 does not ensure that it will look OK on the above systems. In fact, I have seen lot of truncation occuring on the dialogs. So, right-click on your Windows desktop, select the highest resolution and "Large fonts" on the settings dialog. Then reboot, and test your dialogs on the new settings. I am sure you will find problems and will correct them.

This also means that if you are already using "Large fonts" on your system, you should change to "Small fonts" to see how the dialogs look. Perhaps, they become ugly with too much unused space.

  42: Combo box surprises
Date added/modified: 08 Feb 2001

Are you using OnChange event on the combo boxes in the dropDownList style? Have you tried invoking the drop down list by the keyboard and then trying to select an item? You will be surprised. The problem is that OnChange event occurs even when you go through the items with the arrow keys. To handle this well, you need special Combo Box components that don't cause the above problem and give many more events. See any big component library like delphi32.com or Torry's for better Combo Box components.



 

Copyright 1995-2004, Sanjay Kanade. All rights reserved.
All trademarks and copyrights belong to their respective owners.