[Gambas-user] Inconsistent initialization in controls: seems a little bug

Benoît Minisini gambas at ...1...
Wed Sep 1 19:45:14 CEST 2010


> I tested this only for control Label:
> 
> When a control label is created in execution time using gb.qt, then
> control become visible just after assign a value at the Text property:
> 
>   PUBLIC SUB _New()
> 
>     DIM lbl1 AS NEW Label(ME)
> 
>     lbl1.Text = "Hi people"
> 
>   END
> 
> But if you write the same code in a form using gb.gtk, the control
> Label keeps invisible until the properties X, Y, Width and Height gets
> values.

I'm inclined to prefer the gb.gtk behaviour than the gb.qt one, aren't you?

-- 
Benoît Minisini




More information about the User mailing list