Is there possible that add a new component (e.x panel) to scroll box by clicking a button?

Sorry! Can you show your text box widget and scroll box widget?
And your custom Event, do you define anything?