Hi guys,
I was looking for a method with I can show some messages in statusbar. Hours of googling, and I found a solution. Maybe someone is looking for the same help, so here is the solution:
1st: Put a statusbar on your form.
2nd: Set AutoHint property True.
3rd: For example, put a TButton on your form. Set Hint property as you desired. (for example: This is a button)
4th: Set the TButton Showhint property True.
And that's all.
You have three options:
1: If the Hint is just a simple text, you'll see your hint in a bubble, and in the statusbar.
2: If your hint has the following format 1|2 then the "1" will appear in the bubble, the "2" will be shown in statusbar.
3: if your hint looks like "|2", then the bubble will be not shown, but your hint will be visible in the statusbar.
Hope i could help for someone.
Regards,
Kyjan