[Gambas-user] Release of Gambas 2.7

Benoit Minisini gambas at ...1...
Wed Jun 18 14:43:06 CEST 2008


On lundi 16 juin 2008, Rolf-Werner Eilert wrote:
> Benoit Minisini schrieb:
> > On lundi 16 juin 2008, Rolf-Werner Eilert wrote:
> >> Benoit Minisini schrieb:
> >>> Hi,
> >>>
> >>> This new release of Gambas is mainly a bugfix release:
> >>
> >> Thank you Benoit, compiled and runs great here.
> >>
> >> One thing I just came about is that when you change the name of a
> >> control, the name in the displayed version doesn't change at once. This
> >> can be confusing sometimes.
> >>
> >> Hope you know what I mean...
> >>
> >>
> >> Regards
> >>
> >> Rolf
> >
> > Yes. But this is not really fully a bug: for example, TextBox and
> > TextArea Text property is just initialized with the name of the control.
> > When this name change, the property keep its value (because you can
> > change it before the name change). This is not necessarily the case for
> > other controls.
> >
> > I admit this is a bit confusing... :-)
>
> Ok, that's true. This morning, I continued to create some dialogs for a
> project of mine, and after spreading ComboBoxes, ValueBoxes, TextBoxes,
> SpinBoxes and Buttons all over the place :-) I began changing their
> names to something more useful than SpinBox1 or ComboBox3.
>
> Of course, ComboBoxes and TextBoxes didn't change their contents, but
> ValueBoxes and SpinBoxes should have - at least they did, after I closed
> the project and re-openened it.
>
> Regards
>
> Rolf
>

Maybe I should always display the name of the control in TextBox and TextArea, 
and not the value of the Text property. After all, initializing TextBox or 
TextArea is not frequent... I did that because VB did that I think. :-)

Regards,

-- 
Benoit Minisini




More information about the User mailing list