K
KubixKiller
Hello,
I'm trying to pass a textbox to an eval function. For example:
function TestLog(message as string, optional txtLog as variant) as
boolean
dim fCall as string
fCall = "TestFunction(" + txtLog + ")"
debug.print eval (fcall)
end function
I want to call a lot of functions that are present in a table. One of
the parameters is a textbox where certain logging is done. However: I
get error whatever I try. I think I should pass the address of the
textbox, but I don't know how.
I already tried:
fCall = "TestFunction(txtLog)"
but that doesn't work either.
Suggestions anyone?
I'm trying to pass a textbox to an eval function. For example:
function TestLog(message as string, optional txtLog as variant) as
boolean
dim fCall as string
fCall = "TestFunction(" + txtLog + ")"
debug.print eval (fcall)
end function
I want to call a lot of functions that are present in a table. One of
the parameters is a textbox where certain logging is done. However: I
get error whatever I try. I think I should pass the address of the
textbox, but I don't know how.
I already tried:
fCall = "TestFunction(txtLog)"
but that doesn't work either.
Suggestions anyone?