>Best to check:
>
>
VARTYPE(<i>ObjRef</i>.activecontrol) = 'O' AND ! ISNULL(<i>ObjRef</i>.activecontrol)
PMFJI, I put a single textbox on a form. put the following in the forms activate:
thisform.text1.setfocus
? vartype(thisform.activecontrol) = 'O'
If the textbox is enabled I get .T.,
if it's disabled I get an error 'thisform.activecontrol is not an abject'?
I would think you would get .F. when disabled, what gives?
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!