myMet(Extends p As TextField, byref theObj As TextField)
...
theObj.Text = Str(iResult)
and I call it as: Me.ConvertWithAppDec(Me)
Ok, it is work. But do you remember, for example, PupUp.DeleteAllRows ?
How can I extend myMet without write inside parameters “byref theObj As TextField” ?
Like this:
myMet(Extends p As TextField)
...
Me.Text = Str(iResult)
and I call it as: Me.ConvertWithAppDec
like PupUp.DeleteAllRows ?
Hi,
my myMet is a Method inside the public Modules.
myNet convert the text to a particular decimal value, so when the user LostFocus from TextField, automatically the string is converted.
I repeat, Me.ConvertWithAppDec(Me) work fine, but Me.ConvertWithAppDec is appreciated…
@ Markus Winter:
I tried to create this Class ==> Name: myTextField, Super: TextField with the Public Method: Me.ConvertWithAppDec.
Obviously the TextField on Gui have Super: myTextField.
Well, inside Gui TextField->LostFocus I write: Me.ConvertWithAppDec
But do not work…