ComboBox with icons
Each ComboBox item with own icon? No problem. Using OwnerDraw style, we can do almost anything.
Each ComboBox item with own icon? No problem. Using OwnerDraw style, we can do almost anything.
Standard text cursor is boring. What about replacing default vertical line with some cool shape?
The default ListBox items alignment is LeftJustify. There is no Object Inspector property to change this, so if we need to right justify items, we must use a simple trick.
Hints are everywhere. Almost every GUI element in Windows can be “hinted”. When user hover mouse over element, small yellow bubble with help text pops up. Is it possible to change hint “window” behavior? Of course…
To change background color of ListView items, you need to write your own OnCustomDrawItem event handler.
Colored lines in listbox are more user-friendly and easy to read. Here is how to do it…
It’s quite cool efect, but this is also effective way to save some space in your application GUI. Let’s place progressbar of some time-consuming function right into the button, which started this function.
First of all, set ListView to vsReport style and fill in some data. OnColumnClick and OnCompare events will do the rest.