troubleshooting Question

Need a Customized InputBox

Avatar of GeneM
GeneM asked on
Visual Basic Classic
15 Comments1 Solution426 ViewsLast Modified:
Hello all,
I have an application that does quite a bit of dialog with the user.  I have used the Input Box control to get input from him/her.  However, the InputBox seems kind of crude for what I am doing.  

It would seem fairly simple to substitute a form for the input box.  The thing I would really like is for the text box (where the user enters the data) to resize based on the length of the data I expect the user to enter.  For example, I might have input that is only 8 characters long.  I would like the input form to only allow 8 characters in that case.

Note what I would like here is a "general purpose" answer. I realize I could code a new form for each of my input requirements, but I do not want to do that.  I want to pass to the input form the length of the input and have the form resize the text box (and resize itself) to the correct length.

Does anyone have something like this, or know where I could download it.  Or, alternatively, is there an API to adjust some of these fields in the Inputbox control?

ASKER CERTIFIED SOLUTION
Nitin Sontakke
Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 15 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros