;

PDA

Click to See Complete Forum and Search --> : Dynamic Text Box Quesion


JohnnyRexi
05-21-2004, 11:52 AM
Does anyone know how to add buttons to the top and bottom of the scroll on the dynamic text box that will scroll the text up and down. This is in addition to the current drag button that controls the text.

Kind of like make the scrolling like it is in the scroll pane component.

Thanks in advance for your help.

Jr

docree
05-22-2004, 06:41 PM
Check out the example files and the tutorials.
I'm certain that one of the examples has simple AS
for adding the component scrollbar to a dynamic text field.
________________________________
Also, how does one get rid of the Hscroll on the component scroll field?
DocRee

docree
05-22-2004, 06:59 PM
CreateKScrollBar("scroller1",1,Name of Txt field);
scroller1.setStyle(myStyle);

myStyle.gradient = true;
myStyle.shaded=true;
myStyle.liquid=false;
myStyle.face = 0xFF4000;
myStyle.scrollTrack = 0xE0D8D8;
myStyle.scrollBar = 0xFFC000;
_________________________________
Looks like that does it for ya.
AS Found in the Kc demo file.
Add to first frame. May need an action to start.
Set the dynamic field's scroll to no.
DocRee