I have an unbound text box on a form. I would like to give the user the opportunity to save the contents of the text box only when something has been written in it. That is, my save button is not enabled until the length of the string is greater than zero. I tried using the key up event with: if len([mytextbox]) > 0 then mysavebutton.enabled = true end if Can't seem to get it to work though. I would also like the save button to become disabled again if the user starts to type something in the text box but then deletes or backspaces all of what has been written. Any help would be greatly appreciated. Proko
|
|