Quote from: tetrastes on February 05, 2023, 01:40:24 pmWhat do you mean by "on top" and "below"? I guess now that you mean Z-order "Front"/"Forward" and "Back", not what you see on the screen. In this case I agree with you, Z-order does not affect the behaviour of TLabel. But you confused me with your terminology. For me Label is "on top" at the first picture, and "below" at the second.Yes with "on top" and "bellow" I'm talking about the z order and no its not the same, which is evident by the frame line on top of the tlabel in your screenshot.
What do you mean by "on top" and "below"? I guess now that you mean Z-order "Front"/"Forward" and "Back", not what you see on the screen. In this case I agree with you, Z-order does not affect the behaviour of TLabel. But you confused me with your terminology. For me Label is "on top" at the first picture, and "below" at the second.
Quote from: eljo on February 05, 2023, 01:48:27 pmQuote from: tetrastes on February 05, 2023, 01:40:24 pmWhat do you mean by "on top" and "below"? I guess now that you mean Z-order "Front"/"Forward" and "Back", not what you see on the screen. In this case I agree with you, Z-order does not affect the behaviour of TLabel. But you confused me with your terminology. For me Label is "on top" at the first picture, and "below" at the second.Yes with "on top" and "bellow" I'm talking about the z order and no its not the same, which is evident by the frame line on top of the tlabel in your screenshot.I don't understand what do you mean again. What is "not the same"? I changed Z-order of Label1 regarding Panel1 in all ways, and the picture is the same.
is not the same.tlabel is drawn on the canvas of the parent control. tstatictext has his own canvas than can be placed half in the form and half in the tpanel...
I don't understand what do you mean again. What is "not the same"? I changed Z-order of Label1 regarding Panel1 in all ways, and the picture is the same.
Quote from: tetrastes on February 05, 2023, 02:07:01 pmI don't understand what do you mean again. What is "not the same"? I changed Z-order of Label1 regarding Panel1 in all ways, and the picture is the same.The picture is the same because changing z-order doesn't work for TLabel. It's always behind TPanel.
Quote from: domasz on February 05, 2023, 08:53:27 pmQuote from: tetrastes on February 05, 2023, 02:07:01 pmI don't understand what do you mean again. What is "not the same"? I changed Z-order of Label1 regarding Panel1 in all ways, and the picture is the same.The picture is the same because changing z-order doesn't work for TLabel. It's always behind TPanel.That's what I have written. I have not understood, what is "not the same".
Quote from: tetrastes on February 05, 2023, 09:27:00 pmQuote from: domasz on February 05, 2023, 08:53:27 pmQuote from: tetrastes on February 05, 2023, 02:07:01 pmI don't understand what do you mean again. What is "not the same"? I changed Z-order of Label1 regarding Panel1 in all ways, and the picture is the same.The picture is the same because changing z-order doesn't work for TLabel. It's always behind TPanel.That's what I have written. I have not understood, what is "not the same".Zoom the image see the white line on top of the tlabel and bellow the tstatictext. Transparent tpanel and on top of the tpanel is not the same.
i do not understand your strange discussion.whoever told first that a tlabel is always behind a tpanel is wrong - at least on windowsbut probably i misunderstood something
And correct your post, please, as it looks like I wrote your words.
what has it to do with topic "TLabel or TStaticText" ?