mvidas
08-24-2004, 07:59 AM
Hi Everyone,
I'm assuming this is a very simple thing, I've just not had to deal with it before and can't seem to find a way to fix it.
I have a userform that has a textbox. When the form is activated, the textbox is filled with a ten-line-long string variable, with horizontal scrollbars in case the line is too long for the textbox. Most of the time it probably will be too long, and that's fine with me (wordwrap is off). However, if the 10th line is longer than the textbox itself, the scrollbars are all the way to the right, as the cursor in the textbox is blinking at the end of the scrollbar.
I've got the textbox locked, so no one can add anything to it, is there a way to either default the blinking cursor to be at the beginning of the textbox, or even remove the cursor at all? I'm using a textbox so I can have the horizontal scroll, if theres a better way to accomplish what I need to do I'd love to hear it.
Thanks!
Matt
I'm assuming this is a very simple thing, I've just not had to deal with it before and can't seem to find a way to fix it.
I have a userform that has a textbox. When the form is activated, the textbox is filled with a ten-line-long string variable, with horizontal scrollbars in case the line is too long for the textbox. Most of the time it probably will be too long, and that's fine with me (wordwrap is off). However, if the 10th line is longer than the textbox itself, the scrollbars are all the way to the right, as the cursor in the textbox is blinking at the end of the scrollbar.
I've got the textbox locked, so no one can add anything to it, is there a way to either default the blinking cursor to be at the beginning of the textbox, or even remove the cursor at all? I'm using a textbox so I can have the horizontal scroll, if theres a better way to accomplish what I need to do I'd love to hear it.
Thanks!
Matt