![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Limiting the amount of Text within a Text Box I am building a template which has an area for the user to type in whatever information is needed (a form, narrative, whatever). However, I have a limited amount of space on the 1st page of the form. I have tried using a cell with exact measurements and I have tried using a text box (but you can't set permissions on linked text boxes and this "open space" is the only place a user is allowed to type in information. Does anyone know of a way to prevent the typist from continuing to type once the border of the cell or text box has been reached? Both the cell and text box allow the typist to keep typing although you can no longer see the information being typed in. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Limiting the amount of Text within a Text Box "LMW" <LMW@xxxxxx> wrote in message news:7D85FA71-4CED-499D-B3C8-462736CAF7C9@xxxxxx Quote: >I am building a template which has an area for the user to type in whatever > information is needed (a form, narrative, whatever). However, I have a > limited amount of space on the 1st page of the form. I have tried using a > cell with exact measurements and I have tried using a text box (but you > can't > set permissions on linked text boxes and this "open space" is the only > place > a user is allowed to type in information. Does anyone know of a way to > prevent the typist from continuing to type once the border of the cell or > text box has been reached? > > Both the cell and text box allow the typist to keep typing although you > can > no longer see the information being typed in. characters can be entered? There is also the Keypress event that you could write a routine to check the current length of the Textbox and cancel the KeyPress if the length equals the max length you have set. You could punish them by using a multi-line Textbox with vertical and horizontal scroll bars, let them type until the cows come home and you truncate the text to the length you want. ![]() |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Concatenate text string and text in variable with no space between | PowerShell | |||
| Concatenate text string and text in variable with no space between | VB Script | |||
| MVP's, text to speech!!, Can I dictate in other text input program | Vista General | |||
| Howto: Add lines of text from a specific point in a text file.. | VB Script | |||
| How do I read a text file and sort text by fixed positions? | PowerShell | |||