[Gambas-user] Re; Adding new components

Benoit Minisini gambas at ...1...
Tue Sep 25 18:26:52 CEST 2007


On mardi 25 septembre 2007, Gareth Bult wrote:
> >Normally, Select.None;Select.Single;Select.Multiple should not work. But
> > maybe I made more than I thought.
>
> Yup, that works fine!
>
> >Hmm... Where is the DataTypes.None constant?
>
> Makes no difference, but here it is;
>
> PUBLIC CONST NONE AS String = NULL
>
> >And you should tell me the error you get each time, because this way I can
> > make the IDE more robust against errors in component definition.
>
> I have no errors (!) I just get a normal string entry box rather than a
> drop-down editor (!)

Of course, I'm stupid: constants must be integer values :-). And yours are 
strings. It is just a matter of adding support for string constants + 
enumerations in the IDE.

I will tell you if I can do that...

-- 
Benoit Minisini




More information about the User mailing list