Jump to content
Nicolò Blunda

Scale hidden object

Recommended Posts

Hello.
I want to make responsive my WIN/MACOS application.
If control's Align property is setted to Scale value, all works fine: object dimensions scale correctly and the Form is resized.
But if an object is in hidden state (Visible;= False) it not follows scaling and when is showed runtime (setting Visible:= True) his position/dimension is the same as befolre resizing.
There is a way to scaling object not visible?

Edited by Nicolò Blunda

Share this post


Link to post

FInd the solution!
It is necessary to keep Object always in visible state and act on Opacity parameter: Object.Opacity:= 0 to hide Object and Object.Opacity:=1 to show it..

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×