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

[sc-users] SCTextView problem





Why does the scrollbar button disappear when you click inside the window?

(

var w,l2,text;

w = SCWindow.new("test", Rect(340,250, 670 ,150)).front;
l2 = SCHLayoutView(w, Rect(10,10,800,90));
text = SCTextView(l2, Rect(150, 310, 150, 90));
       12.do({
                 text.setString('string'++ "\n"); });
      text.hasVerticalScroller_(true);
   )

(if you add a horizontal scrollbar the behavior is even stranger)

thanks
paul lansky