I am trying to create something that allready exists in another application.
I have put 3 pictures of the original application on my site to let you see what
happens when the user resizes the application. You see 2 statusbars resizes very well
(the first statusbar where you see the text ‘keyboard Locked’ is on a TPanel).
Beneath the 3 pictures you can download the example I made by clicking
on the floppy.
When you have run my example, press Enter so the text 'Keyboard Locked' appears.
When you resize my example you'll see the statusbar at the bottom resizes jus fine.
But not the one on top. For the statusbar at the bottom I have used this procedure:
with MainBar do
Panels.Width := Width - Panels.Width - Panels.Width
- Panels.Width - Panels.Width;
But the procedure above doesn't work for the statusbar on top.
Can someone help me, to solve this problem?