>Hi Budianto,
>
>Ok, here is another idea:
>
>Either add a new property to your text class, called OldValue, or use Tag property, which is less convenient.
>
>In GotFocus this.OldValue=this.Value
>In Click
> blank field (this.ControlSource)
>
>In LostFocus:
>if isBlank(this.value)
> this.value = this.OldValue
>endif
>
>This is of the top of my head and not tested.
>
>I'm also not 100% sure, user would like to have nothing in the field, if it's clicked. What if he/she clicks by mistake and not with the intention of changing?
>
>My first solution just selects everything in the textbox, so user can hit Del button and type anything he/she wants...
Hi Nadya,
>I'm also not 100% sure, user would like to have nothing in the field, if it's clicked. What if he/she clicks by mistake and not with the intention of changing?
Actually, user would like to have nothing with picture format ( ie. , , . )in the field by the time he/she wants to make changing so it's not when it's clicked.
But I've already got the solution, I just put zero by the time the users want to make changing, so the old value is replaced by zero. Anyway, thanks again for your idea.
Budianto