Question
Scrollbar Visibility
Hey everyone,
I'm delving into scrolling text. I have a uiScrollBar component. instance name "scrollBar" attached to my
dynamic text field, instance name "infoBox_txt".
My problem is I want the "scrollBar" to disappear when the text in my field does not fill the text field.
I don't know if I should put it in an onLoad or what?
Here's what I've thought it might look like as a function called
function uiScrollCheck () {
if(infoBox_txt.text = null) {
scrollbar.visible=false;
}
}
I've looked in the help section but it seems kinda vague as to where it should/could go.
any help is great.
Thanks,
Sky
I'm delving into scrolling text. I have a uiScrollBar component. instance name "scrollBar" attached to my
dynamic text field, instance name "infoBox_txt".
My problem is I want the "scrollBar" to disappear when the text in my field does not fill the text field.
I don't know if I should put it in an onLoad or what?
Here's what I've thought it might look like as a function called
function uiScrollCheck () {
if(infoBox_txt.text = null) {
scrollbar.visible=false;
}
}
I've looked in the help section but it seems kinda vague as to where it should/could go.
any help is great.
Thanks,
Sky