29 Jul
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…
Posted in Forms, VCL components, Windows by: admin
No Comments
30 Jun
Colored lines in listbox are more user-friendly and easy to read. Here is how to do it…
Posted in Forms, Graphic, VCL components by: admin
No Comments
07 May
When you minimize modal window, this window is “hidden” behind (or below) application main form. Using this simple trick, we can minimize also the main application window together with modal “child” window.
Posted in Forms, System, Windows by: admin
No Comments
16 Apr
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.
Posted in Forms, Graphic, VCL components by: admin
No Comments
10 Apr
First of all, set ListView to vsReport style and fill in some data. OnColumnClick and OnCompare events will do the rest.
Posted in Forms, VCL components by: admin
No Comments
29 Mar
If you want to “lock” your application window position and prevent user from moving it, it’s really simple.
Posted in Forms, Menus by: admin
No Comments
17 Feb
The standard system font size in Windows XP is 96 dpi. You can also use 120 dpi, if your prefer bigger fonts or you can set this font size to your own value. However, the most applications today are tested only with standard font size and if you change it, even professional applications can have [...]
Posted in Forms, Graphic, System by: admin
No Comments
06 Jan
When you rightclick application title bar (or leftclick icon on title bar), the system menu will appear. Here are common commands to close, minimize or maximize window. But you can add your own commands if you like. Here is how.
Posted in Forms, Menus, System by: admin
No Comments
06 Jan
If you use standard main menu component, all items are usually on the left side of the window and there is not much you can do about it using Object Inspector. Here is a little trick to move one main menu item on the right side while the rest remains on the left side. It’s [...]
Posted in Forms, Menus, System by: admin
No Comments
31 Dec
The length of whole path and file name could be too long to show it in title bar of application or some label. Solution? Show shortened version of a filename using dots instead of folders.
Posted in Files, Forms, System by: admin
No Comments