How can I detect if the scroll bar is active in a text area box

I’m use to using the reference language guide to find my coding examples but nothing happens when I click on it (it still works in real basic) And I couldn’t find any help in the 2 links you gave me. I’m sure I’m not searching right or I’m doing something else wrong but I just can’t find the code I want.

I’m trying to load a text area box with a string. (Not clicking on the text box so I don’t think it will help me.)

Thanks for trying to help but I don’t think it will work and I can’t find the code to use.
Dave