[Gambas-user] Arrangement property in ScrollView.

Benoit Minisini benoit.minisini at gambas-basic.org
Sat Nov 5 11:02:10 CET 2022


Le 05/11/2022 à 07:56, Angel a écrit :
> 
> You are right, it's a mistake of mine.

Yes and no: The error message should be 'Container.Arrangement' is not a 
property, but it takes the actual class of the object to generate the 
error message hence confusing...

> 
> 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,
> 

-- 
Benoît Minisini.



More information about the User mailing list