I have another question, here's the code I'm working with.
<UIListbox name="LISTBOX" x=20 y=35 width=440 height=150 yPadding=1 xPadding=1 hidescrollbarwhennotneeded="true" capturemouseclicks="false" showpartialchild=true snaptobottom="TRUE" scrollbaronright=true unequalcontrols=false scrollsegmentsize=1 update=true>
<UIPane name="LISTBOX_ITEM" width=PARENT_WIDTH height="DYNAMIC" tupple=true prototype=true draggable=false>
<UIText name="LISTBOX_ITEM_1" width="PARENT_WIDTH" height=500 multiline="true" idescrollbarwhennotneeded=true prototype=true align="left" valign="top" fontfamily="Default" style="1" />
</UIPane>
<UIScrollBar name="SB" style="STYLE_SB_THIN" />
</UIListbox>
The snaptobottom function doesn't seem to work when the listbox is updated with text. Basically what I'm trying to do is create a chat window and when the listbox is updated it needs to scroll all the way to the bottom.
Any suggestions?
Thanks.





Retour en haut






