[Gambas-user] Controls by code are invisible in Gnome

EA7DFH ea7dfh at ...2382...
Wed Sep 1 01:11:35 CEST 2010


El 31/08/10 22:50, Fabián Flores Vadell escribió:
> I was testing a custom control in a Ubuntu 9.10 virtualized by
> VirtualBox (using Gambas 2.18), and my controls become invisible in
> execution time. This not happens on Kubuntu 10.04 on virtualbox too
> (using Gambas 2.20).
> 
> I was suprized when I verified that the same happens with controls
> provided by Gambas,  What's could be happening?
> 
> 'lbl1 is invisible in time execution
> PUBLIC SUB _new()
>   DIM lbl1 AS NEW Label(ME)
> 
>   lbl1.Text = "Hi people"
> END
> 

Sorry for re-posting... I've clicked the Send button too early!

May be you need to specify X, Y coordinates and size for the new widget
to be positioned on your form?

-- 
Jesus, EA7DFH




More information about the User mailing list