[Gambas-user] Re; Adding new components
Gareth Bult
gareth at ...1689...
Tue Sep 25 18:30:58 CEST 2007
Mmm... your howto said "constant" .. as opposed to "integer constant" ..
I think we really need strings to work too otherwise lots of this isn't going to fly too well ...
Gareth.
--
Managing Director, Encryptec Limited
Tel: 0845 25 77033, Mob: 07891 389657
Email: gareth at ...1689...
Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request.
----- Original Message -----
From: "Benoit Minisini" <gambas at ...1...>
To: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
Sent: Tuesday, September 25, 2007 5:26:52 PM (GMT) Europe/London
Subject: Re: [Gambas-user] Re; Adding new components
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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list