ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   text boxes on forms (https://www.excelbanter.com/excel-programming/372707-text-boxes-forms.html)

Steve

text boxes on forms
 
I have a two part question:

1) if the text exceeds the length of the textbox, (meaning you can't see
all of the text unless you scroll through it). how do i reset it back to the
beginning of the text box when the user exits the text box?

2) I turned on the horizontal scroll bar property in the text box. when
the scroll bar pops up, it covers half of the text box. so i have to
increase the height of the text box almost double. is there a way to have
the scroll bar drop below the text box, rather than inside of it?

thanks,
Steve

NickHK[_3_]

text boxes on forms
 
Steve,
1 - Look into the SelStart, SelText, SelLength properties of the text box.

2 - No, that is the way the control works.

NickHK

"steve" ...
I have a two part question:

1) if the text exceeds the length of the textbox, (meaning you can't see
all of the text unless you scroll through it). how do i reset it back to
the
beginning of the text box when the user exits the text box?

2) I turned on the horizontal scroll bar property in the text box. when
the scroll bar pops up, it covers half of the text box. so i have to
increase the height of the text box almost double. is there a way to have
the scroll bar drop below the text box, rather than inside of it?

thanks,
Steve





All times are GMT +1. The time now is 06:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com