[Gambas-user] ScrollView problems since it was rewritten in Gambas

Karl Reinl karl.reinl at fen-net.de
Sat Nov 17 18:29:03 CET 2018


Am Samstag, den 17.11.2018, 17:53 +0100 schrieb Benoît Minisini:
> Le 17/11/2018 à 17:36, Charlie Reinl a écrit :
> > Salut Benoît,
> > 
> > when I designed on a ScrollView before ( Gambas <= 3.11.90 12c0ebda4 (master))
> > and asked Object.Type(item.Parent)  I got "ScrollView".
> > 
> > Now the same with : Gambas > 3.11.90 12c0ebda4 (master)
> > Object.Type(item.Parent) 		I get "Panel",
> > Object.Type(item.Parent.Parent) 	I get "DrawingArea",
> > Object.Type(item.Parent.Parent.Parent) 	finally gives "ScrollView"
> > 
> > But my Parent has to be  found with Object.Type(item.Parent) like
> > before, no?
> > 
> 
> It's normal, as soon as a container is rewritten in Gambas. You see the 
> internal structure.
> 
> Why is it a problem for you?
> 

yes, my project loops through my forms elements and queries theirs
properties, here a locked state, but  Panel and DrawingArea don't have
my locked property, nor my GET method.

And for me Parent means Parent and not their home where they life, and
looking  in the rooms to find them. 

-- 
Amicalement
Charlie



More information about the User mailing list