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

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to