[haXe] Enum.toString() ?

Benjamin Dasnois benjamin.dasnois at gmail.com
Sun Apr 9 21:37:48 CEST 2006


Hi,
are you sure you've added Enum.toString?
In my code nBorder is a haXeGTK.BorderStyle which is an Enum... (enum
BorderStyle {})
The compiler complains about this line:
this.rootNode.style.borderStyle = nBorderStyle.toString();
 with this error: haXeGTK.borderStyle have no field toString


--
DASNOIS Benjamin



More information about the Haxe mailing list