[Gambas-user] GB3 Custom controls
Bruce Bruen
bbruen at ...2308...
Mon Nov 7 23:40:38 CET 2011
On Mon, 2011-11-07 at 21:26 +0100, Benoît Minisini wrote:
> > 2) (Related) Don't use the _DrawWith constant without care as it
> will
> > crash the IDE if the form is left open.
>
> _DrawWith works only if you specify a control used by the IDE project
> (it must be in gb.qt4, gb.qt4.ext, gb.form or gb.form.mdi).
In IDE, ensure only the LabelTextBox class is open
In my LabelTextBox class
1) Uncomment the _DrawWith declaration (line 40-something) - Note I am
using a native control i.e. textbox
2) Make executable
3) Open the FTest1 form
==> should get a "cannot open file" error
4) Exit the IDE, leaving the form open
5) restart the IDE and open the project
==> should get the "must abort" error
Bruce
More information about the User
mailing list