delphi - auto-align forms when they are shown -


i have 4 fourms, , when form1 shows(), calls show other 3. how can make when shows other forms auto align first one?

-form 1 shows -need form2 attach left of form 1 -need form3 attach bottom of form 1 -need form4 attach right of form 1 

so looks 1 form 4 different sections. reason center form (form 1 ) run opengl , other 3 forms controls

if need such function suggest using thetjvformmagnet component of jvcl (jedi visual component library).

otherwise calculate clientrect & position of side forms whenever mainform moves or resizes catching appropriate messages via wndproc method.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -