OwnerDrawFixed in TDBComboBox

I put a TDBComboBox in a TDBCtrlList and I want to change the view of TDBComboBox, so I changed the style property to csOwnerDrawFixed and write some code in OnDrawItem. Everything goes well but if the TDBComboBox loses its focus, the text on it disappear! I think the reason may lie in that the FPaintControl inside TDBComboBox doesn't know how to call the customized drawitem procedure I wrote. Anybody here can give some advices? Thanks a lot!

Creating an auto free TStringList
The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list.
In such cases, you have to…

In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work. Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…

In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you!
In this Micro Tutorial, you'll learn yo…