Search code examples
delphimdichilddelphi-10.3-riotscrollbox

MDIChild Form always behind ScrollBox


Based in this my working code, now i need of a ScrollBox component and a Image component inside he. Eg:

enter image description here

The problem now is the ScrollBox. The MDIChild Form always stays behind, you can test, changing ScrollBox Align (None/Client) property.

Then what is need to MDIChild Form stay above of ScrollBox?


Solution

  • The MDI client window that hosts the MDI child forms is the bottom most window of the MDIForm's content. You can't make MDI child forms appear on top of anything else, because literally everything else placed on the MDIForm is on top of the MDI client window and thus on top of the child forms.