Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-12

AutoSize Label Height during construction

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Rimmert Ooink

Rimmert Ooink hat am 18. Dezember 2012 um 13:29 geschrieben:

Show quoted text 8 lines
Hello List, I want to show a form with a label. The form height depends on the amount of text it has to display. The problem is: the label doesn't resize while the form is not visible. How can i get the size of the label will be before it is visible?

All needed data for that is created when showing (=becoming visible) the form. Use the OnResize event.

Mattias

Reply by email