[Gambas-devel] BUG ? v. 1.9.46a Or am I hopelessly clumsy ?

Benoit Minisini gambas at ...1...
Sat Nov 25 12:41:02 CET 2006


On Saturday 25 November 2006 09:56, MV wrote:
> [REPOST - hope it won't create a duplicate, I sent it first under an
> unregistred identity]
>
> Hello,
>
> Still in the process of discovering Gambas, I wanted to make a component
> (in gambas, not C/C++), and test it localy.
>
> So I parsed the available documentation, and some messages on mailing
> lists. And I can't get anything to work. But what's troubling me is that I
> somehow have a result : if I write what I think a component should be like,
> and create the executable with copy in the local lib directory, the IDE
> subsequently accepts my new class when typing statements (for instance, say
> I leave the default CControl as file name for the class, I can type DIM
> $myctrl AS CCo and the IDE then allow autocompletion of 'ntrol', and I can
> go on typing $myctrl.property where property is declared in the component
> class, I have that choice popup automatically). What's even more troubling
> is that I get lot of hard crash while I try to set the type of my custom
> control in the property panel of the component project.
>
> So I spent hours in Gambas2 sources, especially in gb.comp, and I still
> don't get what I'm missing, if I'm missing something. Might it be a bug, or
> is it really me ?
>
> I attach a minimal test case with that message, a custom control in pt and
> a simple form in pttst.
>
> Thank you all,

There was a bug in the compiler that didn't take into account the user 
component directory.

Please use the svn trunk version where I fixed this bug.

Regards,

-- 
Benoit Minisini





More information about the Devel mailing list