Re: [Lazarus] Z-order not working

2015-04-01 Thread Dmitry Boyarintsev
On Wed, Apr 1, 2015 at 9:45 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > Why can I place a TEdit above a StatusBar, but a TImage I can't? See > attached screenshot. > Follow up on the forum. http://forum.lazarus.freepascal.org/index.php/topic,27932.0.html thanks, Dmitry --

Re: [Lazarus] Z-order not working

2015-04-01 Thread Kostas Michalopoulos
On Wed, Apr 1, 2015 at 5:19 PM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > > Can Lazarus already handle such "developer defined components"? I > remember the good old days of Delphi 7. Define a nice Form or Frame > template. Select everything and drag it to the component palette a

Re: [Lazarus] Z-order not working

2015-04-01 Thread Anthony Walter
If all you want to do is add graphic indicators to a panel, just fill out DrawPanel and use StatusBar.Canvas. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Z-order not working

2015-04-01 Thread Dmitry Boyarintsev
On Wed, Apr 1, 2015 at 10:23 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > And that's where my second (actually I lost count today) problem lies. > How do I add a TPanel inside a TStatusBar for example. The TStatusbar > doesn't seem to accept child widgets. > I'd think that's an

Re: [Lazarus] Z-order not working

2015-04-01 Thread Graeme Geldenhuys
On 2015-04-01 15:42, Anthony Walter wrote: > > Personally, I never use a status bar, just because if I want something > in the footer, it usually involves more than just text. Well, I'm modifying an existing project for a client, so I don't have much say in that regard. A nice idea though. All I

Re: [Lazarus] Z-order not working

2015-04-01 Thread Anthony Walter
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

Re: [Lazarus] Z-order not working

2015-04-01 Thread Graeme Geldenhuys
Hi Anthony, On 2015-04-01 15:01, Anthony Walter wrote: > If you case, the image, edit, and status bar all have the same parent > window, thus the image will always be clipped by the edit and status bar. Many thanks for the explanation. I forgot the fact that a graphic control doesn't have a handl

Re: [Lazarus] Z-order not working

2015-04-01 Thread Graeme Geldenhuys
Hi Dmitry, On 2015-04-01 15:01, Dmitry Boyarintsev wrote: > TImage is a graphic control (it doesn't have its own handle), Ah, okay. One of those differences between LCL and fpGUI. > It should be a place into another control (i.e. TPanel) that is > TWinControl (and does have a handle) And that

Re: [Lazarus] Z-order not working

2015-04-01 Thread Dmitry Boyarintsev
TImage is a graphic control (it doesn't have its own handle), thus cannot be put "above" any other control than it's parent. It should be a place into another control (i.e. TPanel) that is TWinControl (and does have a handle) thanks, Dmitry On Wed, Apr 1, 2015 at 9:45 AM, Graeme Geldenhuys < mai

Re: [Lazarus] Z-order not working

2015-04-01 Thread Anthony Walter
Graeme, Does someone else have access to your account? Because the questions you're asking are trivial to answer. TEdit is a windowed control and as such its rectangular clipping path is controlled by the Z-order of its siblings. TImage is a graphic control and as such its rectangular clipping p