[Gambas-user] New TextArea

Jussi Lahtinen jussi.lahtinen at gmail.com
Mon Mar 8 22:40:17 CET 2021


>
> It's normal. Your code is buggy: you suppose that the controls are
> arranged before the Open event is raised. They usually are not.
>
> You must run any code that depends on the size of an arranged control
> from the Arrange event handler of the control parent.
>

OK, thanks!


Moreover, I don't understand at all what you are trying to do. If you
> want to display wrapped text inside a TextArea, just set the Wrap
> property to TRUE. No need to do it by yourself.
>

For some reason I thought the property doesn't exist... so many native
features that I forget quarter of them.


Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210308/2239a21c/attachment.htm>


More information about the User mailing list