Page 1 of 1

Scroll bars in text box - how do you get them to work?

Posted: Tue Feb 04, 2014 1:57 pm
by daviesg6
hi,

I have a need to add vertical scroll bars to a text box (read only box used to display search results). Because of the use of this box I cannot set it to a specific size and be sure it will display everything hence the scroll bars.
I have added this to the form, but it does nothing and I can't work out what is needed to get the scroll bar to make the data displayed actually scroll. Right now the indicator in the bar moves, but the data stays static.
I know it is going to be something obvious, but I think I've gone code blind.

Any suggestions?

Re: Scroll bars in text box - how do you get them to work?

Posted: Tue Feb 04, 2014 2:04 pm
by jvierra
Scrollbars on text boxes are automatic. They display when needed.

Re: Scroll bars in text box - how do you get them to work?

Posted: Tue Feb 04, 2014 2:12 pm
by jvierra
Here is a full demo of a textbox with full scrollbars:

Re: Scroll bars in text box - how do you get them to work?

Posted: Tue Feb 04, 2014 2:20 pm
by daviesg6
I do not see the scroll bar, if I click the bottom right corner of the results window it moves down a line, but there is no bar.

I also cannot open the demo, it says it was created in a different version of primalforms

Re: Scroll bars in text box - how do you get them to work?

Posted: Tue Feb 04, 2014 2:29 pm
by jvierra
Here it is as a PS1 file

Re: Scroll bars in text box - how do you get them to work?

Posted: Thu Feb 06, 2014 9:48 am
by daviesg6
my apologies, I had not noticed the scroll bars option in the box config. Enabling this gave me the required option.