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

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



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)
_f


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.

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

best,
Jan


  #|

     fredrikolofsson.com     klippav.org     musicalfieldsforever.com

  |#