T teiben Registered User. Local time Today, 10:23 Joined Jun 20, 2002 Messages 462 Nov 29, 2004 #1 I have a form with a limited amount of space, is there anyway to have a textbox when it gets focus, get larger, so the user can keep typing, like some sort of textbox. has anyone done anything like this?
I have a form with a limited amount of space, is there anyway to have a textbox when it gets focus, get larger, so the user can keep typing, like some sort of textbox. has anyone done anything like this?
E ecniv Access Developer Local time Today, 10:23 Joined Aug 16, 2004 Messages 229 Nov 29, 2004 #2 You can possibly resize the textbox on got focus and lost focus... You'd have to experiment with it though. something like: Code: public sub txt_GotFocus() txt.width=300 txt.height=30 end sub public sub txt_LostFocus() txt.width=30 txt.height=10 end sub
You can possibly resize the textbox on got focus and lost focus... You'd have to experiment with it though. something like: Code: public sub txt_GotFocus() txt.width=300 txt.height=30 end sub public sub txt_LostFocus() txt.width=30 txt.height=10 end sub
M misslee1888 New member Local time Today, 10:23 Joined Dec 2, 2002 Messages 98 Nov 29, 2004 #3 You could just put the following code on the double click event on the textbox. So that when the user double clicks on it it becomes bigger and allows them to enter their text. The afterwards it shrinks again. DoCmd.RunCommand acCmdZoomBox
You could just put the following code on the double click event on the textbox. So that when the user double clicks on it it becomes bigger and allows them to enter their text. The afterwards it shrinks again. DoCmd.RunCommand acCmdZoomBox
T teiben Registered User. Local time Today, 10:23 Joined Jun 20, 2002 Messages 462 Nov 29, 2004 #4 Cool Thank you!!! I never new such a code existed. you rock