Text field and font attributes

Aug 6, 2011 at 5:19pm

Text field and font attributes

Hello everybody,

My UI object has a text field, the class is initialized in the main() routine as
jbox_initclass(c, JBOX_TEXTFIELD);

Yet I really don’t want the three default text attributes to appear in the inspector! How can I achieve this? I thought that if I didn’t use the JBOX_FONTATTR flag, they would not appear, but it’s not the case.

Thanks a lot,

Aug 6, 2011 at 5:48pm


have you tried something like that ?

CLASS_ATTR_INVISIBLE (c, "textcolor", 0);


Aug 6, 2011 at 11:29pm

Excellent idea, thanks :-)
I don’t know why I didn’t think about it… :S



You must be logged in to reply to this topic.