[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] SCTestView editable_ (from SF Bugs)

sorry but i won't change that in SwingOSC. i think it's illogic to block programmatical control of a view just because user interaction is blocked. you can resize a window even if its not resizable, you can close it even if userCanClose is false, you can change the values of a multislider even if its readonly etc.

ciao, -sciss-

Am 16.01.2008 um 11:40 schrieb Fredrik Olofsson:

hi Jan,
ok. i thought editable referred to the act of typing things into the graphical box - not setting the content with a message. i understand now. just slightly annoying that you have to remember the order of the messages when creating a textview with non- changeable text.

(still works differently in swingosc0.57b btw)

(advanced find seem to work great here on both ppc and intel - thanks)

Am 16.01.2008 um 09:25 schrieb Jan Trutzschler:

Hi Fredrik,

i think the code below works as expected. If the textView is not
editable you cannot set a string.  So i don't consider this to be a
bug. (It's a feature ;-} ). It's like a closet, you can't put
something in, when it is locked.

w= GUI.window.new;
GUI.textView.new(w, Rect(10, 10, 100, 20))
.string_("asdf"); //not displayed


     fredrikolofsson.com     klippav.org     musicalfieldsforever.com

Sc-devel mailing list