[Gambas-user] minor annoyance in IDE

Benoit Minisini gambas at ...1...
Fri Aug 19 17:20:17 CEST 2005


On Tuesday 16 August 2005 07:09, Rob wrote:
> In the CheckName method of CControl.class, at line 633 in Gambas
> 1.0.9, there's a line that looks like this:
>
>     IF Instr("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ", UCase(Mid$(sName,
> iInd, 1))) = 0 THEN
>
> Benoit, could you please change it to
>
>     IF Instr("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_",
> UCase(Mid$(sName, iInd, 1))) = 0 THEN
>
> in some future version?  I've been doing it myself for the last few
> versions as I've been reimplementing some VB and MSaccess projects,
> and underscores in control names seem pretty common (and harmless to
> the Gambas compiler and interpreter, it seems.)
>
> Thanks....
> Rob
>
>

The problem is that the underscore is the limit between the control name and 
the event name... I don't know if this won't break things. I will try in the 
development version first...

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list