Re: [Gambas-user] Re; Adding new components
Brought to you by:
gambas
From: Gareth B. <ga...@en...> - 2007-09-25 16:31:17
|
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: ga...@en... 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" <ga...@us...> To: "mailing list for gambas users" <gam...@li...> 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 Gam...@li... https://lists.sourceforge.net/lists/listinfo/gambas-user |