On 01.04.2009, at 11:24, leowang wrote:

> Dear All,
> I found that fltk can't display '&' character in widget.
>
> such as Button *btn = new Button(0, 0, 100, 100, "abcd&efg");
>
> it will display as abcdefg.
>
> and in browser widget, nothing will be display.


The "&" is used as a special character that indicates shortcuts in  
menus and buttons. Simply double the character to get a single "&":   
"abcd&&efg"


----
http://robowerk.com/


_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to