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
16 Oct
Using ShellAPI unit and few lines of code, we can load directory structure into ListView and show associated icons and information for each file.
Posted in Files, Forms, System by: admin
No Comments
26 Aug
For some applications, it’s important to know, where the taskbar is located. Of course, most users use standard “bottom of the screen” position, but of course, you can place it to the left, rigtht or top of the screen. Here is the method to determine actual position.
Posted in Forms, System by: admin
No Comments
22 Aug
If want to allow users to run just one instance of application, one of possible methods is to use “mutext” (mutual exclusion).
Posted in Forms, System by: admin
No Comments
18 Aug
This trick is pretty simple. You just need few icons (at least two) for animation and Timer component. The rest is easy…
Posted in Forms by: admin
No Comments
25 Feb
Normally, you can just turn hints on or off using property ShowHint on almost every visual component. But what if you want to change the default system color of hint “bubble”? And what if you want to change the default pause, before the hint shows? And hide pause? Everything is very simple.
Posted in Forms by: admin
No Comments