G
Guest
Hi,
I have a somewhat long calculation report printed out in a RichTextBox. To
find or monitor a particular value, users scroll down to the location of the
data in the RichTextBox. However, when the user changes the input data, a
recalculation is made and a new report is generated. This resets the
RichTextBox vertical scroll bar to the top.
I would like to be able to read the position the scroll bar is moved to
before recalculation. Then, after recalculation, I would like to set the
scroll bar to the previous position (or merely nearby). Are these operation
possible from code.
Please do not suggest another way that I can present my data, I know it
sounds a like a newbie way of presenting data, however, it's not - the
varying nature of the data require this presentation.
regards Jesper, DK
I have a somewhat long calculation report printed out in a RichTextBox. To
find or monitor a particular value, users scroll down to the location of the
data in the RichTextBox. However, when the user changes the input data, a
recalculation is made and a new report is generated. This resets the
RichTextBox vertical scroll bar to the top.
I would like to be able to read the position the scroll bar is moved to
before recalculation. Then, after recalculation, I would like to set the
scroll bar to the previous position (or merely nearby). Are these operation
possible from code.
Please do not suggest another way that I can present my data, I know it
sounds a like a newbie way of presenting data, however, it's not - the
varying nature of the data require this presentation.
regards Jesper, DK