G
Guest
Hey guys,
I have two questions regarding the vertical srollbar of a multiline textbox.
1. I have an "Ok" button that is initially disabled. I want it to be enabled
when the user scrolls the vertical scrollbar of a textbox all the way down
(indicating that the user at least pretended to read all of the textbox's
text). How can I monitor the scrollbar and know when it has reached the end?
2. My multiline textbox has VerticalScrollBar set to true. Now, the textbox
is not small and I might get text that will fit entirely without the need for
scrolling. In this case I want the same "Ok" button to be enabled
immediately. How can I tell if the text of a textbox will or will not
require vertical scrolling?
Thanks a lot,
-Flack
I have two questions regarding the vertical srollbar of a multiline textbox.
1. I have an "Ok" button that is initially disabled. I want it to be enabled
when the user scrolls the vertical scrollbar of a textbox all the way down
(indicating that the user at least pretended to read all of the textbox's
text). How can I monitor the scrollbar and know when it has reached the end?
2. My multiline textbox has VerticalScrollBar set to true. Now, the textbox
is not small and I might get text that will fit entirely without the need for
scrolling. In this case I want the same "Ok" button to be enabled
immediately. How can I tell if the text of a textbox will or will not
require vertical scrolling?
Thanks a lot,
-Flack