WebTextField

How i can send the name of a Object

On Lost Focus the pass the name of WebTextField to then return a value

Example:

WebTextField name is TxtName
Object.name=TxtName.Name

then
Return a value to TxtName.Text

The name of an object can be obtained using me.Name. If you want to update the text value of your control you would pass me.

Example

Sub SafeString(t As WebTextField)
t.Text = ReplaceAll(t.Text, “’”, “’’”)
End Sub

In your lost focus event you would have

SafeString(me)

HTH

Wayne

Hi Thanks

But this works but i have a problem i show a WebDialog and i need when close the return the value to the WebTextField

Use the dismissed event of the dialog to update the webtextfield.

ok
so i add SafeString(me) on the dismissed event of the WebDialog

Hi Alexis

I think you are looking for a reusable dialog? Have a look at this .

HTH

Wayne

Yes

Thanks Wayne