[Gambas-user] Arrangement property in ScrollView.
Angel
angelnunez123 at gmail.com
Sat Nov 5 07:56:17 CET 2022
El 4/11/22 a las 23:03, T Lee Davidson escribió:
> On 11/4/22 17:18, Angel wrote:
>> ScrollView has Arrangement property at design time in the gambas3
>> ide, but at run time it does not support Arrangement property, in the
>> gambas help it has Arrangement as property. Is it a bug?
>
> The Arrangement property for ScrollView is available at runtime.
> [code]
> Public Sub Form_Open()
>
> ScrollView1.Arrangement = Arrange.Fill
> Print ScrollView1.Arrangement
>
> End
> [/code]
>
> Outputs the numeral 5 to the console at run time.
You are right, it's a mistake of mine.
He called the Arrangement of the Scollview object from another function.
[code]
Public Sub LlenarScrol(Contenedor As Container)
Contenedor.Arrangement = Arrange.Column
End
[/code]
I sent a scrolview to the sub and obtained the error
'ScrollView.Arrangement' is not a property
I get obsessed that the scrolview control had a bug, the bug was me
The container object does not have the Arrangement property,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20221105/fef6e0de/attachment-0001.htm>
More information about the User
mailing list