[Lazarus] Z-order not working
Anthony Walter
sysrpl at gmail.com
Wed Apr 1 16:42:28 CEST 2015
Graeme,
Personally, I never use a status bar, just because if I want something in
the footer, it usually involves more than just text. For example I may want
editor controls, images, buttons, and text in the bottom area of the form.
See the screenshot below as an example coming from one of my apps:
http://cache.getlazarus.org/images/showcase/linux.business.charity.jpg
See the form in back can have a search function, a date range button, and
you can remove it by clicking close? You can do whatever you want in the
bottom area of a a form if you just reserve it by overriding
GetLogicalClientRect and using control alignments. You don't even need a
panel, just a trivial piece of code in the form.
If you're like me you'll even put that logic in a base form class, make it
optional, and use that type of base form anytime you might want a status
like area.
Oh and if you're concerned about drawing the size grip handle in the bottom
right, the Theme API does that for you, or you can even write you own one
time reusable code to draw size grip handles.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150401/79451953/attachment-0003.html>
More information about the Lazarus
mailing list