[Gambas-user] Re; Adding new components

Gareth Bult gareth at ...1689...
Tue Sep 25 18:14:41 CEST 2007


>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 (!)

>Note: I prefer having constants written with the first letter of each word in upper case, and the other in lower case. There are some exceptions like in the OpenGL component, but this is because the interface of the component comes from OpenGL, and was not designed for Gambas.

Sure, I'm still testing at this stage, variable names will change ..

Gareth.


Regards,

-- 
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