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,
Daniele

#58366
Aug 6, 2011 at 5:48pm

Hello,

have you tried something like that ?

CLASS_ATTR_INVISIBLE (c, "textcolor", 0);

HTH

#209768
Aug 6, 2011 at 11:29pm

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

d

#209769

You must be logged in to reply to this topic.