Ok i have done everything i know what to do in OOP. How do i successfully attach a scrollbar into a textbox?
Code:
Quote:
textBoxScrollBar = Turbine.UI.Lotro.ScrollBar();
textBoxScrollBar:SetParent( self );
textBoxScrollBar:SetOrientation( Turbine.UI.Orientation.Vertical );
textBox = Turbine.UI.Lotro.TextBox();
textBox:SetParent( self );
textBox:SetMultiline( true );
textBox:SetReadOnly( true );
textBox:SetPosition( 25, 65 );
textBox:SetSize( 350, 300 );
textBox:SetVerticalScrollBar( self.textBoxScrollBar );
|