> I want to do a textfield with fixed width. (like in flash or in html)
> I thought inherit from the class a2dText to achieve this.
> I wanted to know :
>
> 1) If inheriting from a2dText is a good solution

Yes, or just copy it completely and work on that.
If you succeed i gladly add it to the code.

> 2) Where the keboard events are handled ?

In a2dText when in edittool they get directed from there.

You almost need to rework the a2dText code to render in a fixed width.
And later based on that also adjust the other stuff there.
Not just a few lines.

Klaas

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to