Jump to content

How to layout component in a main form


gesulmino

Recommended Posts

Hi group,

I would like to develop an application where the main form contains a header panel, a footer panel and in the middle a TUniUrlFrame where to insert a different TUniFrame depending on the operations performed by the user. The objects on the main form have a fixed width of 1000 pixels and the TUniFrame objects too. The TUniUrlFrame object should have sufficient height to completely contain one of the TUniFrame objects in the project, possibly beyond the height of the main form.
Someone can give me advice on the following issues:
1) Is it possible to position the header, the TUniUrlFrame and the footer in the center of the web page?
2) Is it possible to adapt the height of the TUniUrlFrame object at runtime so that it can completely contain the inserted TUniFrame object?
3) Is it possible to reposition the footer immediately after the resized TUniUrlFrame object?

Thanks for your help.

Link to comment
Share on other sites

For the moment

an answer to question 1) may be to place a TUniContainerPanel on the main form with align set to alCustom and Anchors set to akTop and insert the header, footer and TUniUrlFrame inside it.

an answer to quetion 2) and 3) may be to use TUniScrollBox instead of TUniContainerPanel and set the correct height value for TUniScrollBox and set the correct Top value for the footer when the TUniFrame object is created.

A better solution would be appreciated.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...