03-01-2007 01:22 PM
Hello,
I have a multi-line text box, with vertical scrolling enabled, that is one line high. When the text box is compressed to one line, the vertical scroll bar disappears. While scrolling is possible using the up/down keyboard keys, I still need a vertical scroll bar.
I tried using a Numeric Control, (and having the Numeric Control display the line number would be a plus). Trouble is, the numbers advance in the wrong direction. I.e. to advance from line 1 to line 2 one would normally click the down arrow on the "scroll bar" but, of course, with a numeric control the number decrements. The numeric control will not accept an increment value of -1 (with data type as signed int). I can "fake it" by observing the direction of change of the number in the numeric control, reverse the change, and then refresh the control with the new number, but a simpler way would be preferred. Thanks for any suggestions.
Joe
03-01-2007 05:37 PM