Hi,
I have to following situation:
When entering a textbox I use a function in the When and Valid event. In this function I use the ActiveControl property. Now in the valid event this works great but in the When event a get the message "ACTIVECONTROL is not an object"
WAIT WINDOW ofrmQu_edit1.ActiveControl.name
WAIT WINDOW _screen.ActiveForm.ActiveControl.name
Please help!
Also did it in the GotFocus event but also there I get the error.
The textbox is active because after ignoring the message the cursor is returned in it.
Thanx
I have to following situation:
When entering a textbox I use a function in the When and Valid event. In this function I use the ActiveControl property. Now in the valid event this works great but in the When event a get the message "ACTIVECONTROL is not an object"
WAIT WINDOW ofrmQu_edit1.ActiveControl.name
WAIT WINDOW _screen.ActiveForm.ActiveControl.name
Please help!
Also did it in the GotFocus event but also there I get the error.
The textbox is active because after ignoring the message the cursor is returned in it.
Thanx