>Hi Nadya,
>
>Try this
>
>
>define class TextBoxNonbound as textbox
>initvalue = ''
>
>function refresh
>this.value = this.initvalue
>endfun
>
>enddefine
>
What I don't like in this solution is ENDFUN statement. :)
The fun never ends!
:)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison