I have a form with a control "ctrl1" of type textbox.
I wash to pass a reference to the control to a function, then allow the function to update the control,
i.e
sub func(ctrl as control)
ctrl.value = "thats the one!!"
end sub
but, when i call the function i.e func(ctrl1), it just seem to pass the value...
ive tried this
dim ct As Control
set ct = ctrl1
func (ct)
...but this doesn't even set ct to an object...
...sure this is really simple...but whats going on??? set objJedi[skyWalker].Aniken = FatherOf(useThe.Force(objJedi[skyWalker].luke))
I wash to pass a reference to the control to a function, then allow the function to update the control,
i.e
sub func(ctrl as control)
ctrl.value = "thats the one!!"
end sub
but, when i call the function i.e func(ctrl1), it just seem to pass the value...
ive tried this
dim ct As Control
set ct = ctrl1
func (ct)
...but this doesn't even set ct to an object...
...sure this is really simple...but whats going on??? set objJedi[skyWalker].Aniken = FatherOf(useThe.Force(objJedi[skyWalker].luke))