popup textbox

teiben

Registered User.
Local time
Today, 10:23
Joined
Jun 20, 2002
Messages
462
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?
 
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 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
 
Cool

Thank you!!! I never new such a code existed. you rock
 

Users who are viewing this thread

Back
Top Bottom