>Pessoal,
>
>Estou com o seguinte problema:
>
>
>if upper(thisform.ActiveControl.Name) $ "TXTCODTIPO-CMBTIPO"
>
>
>Ao executar esta linha o VFP6 dá a mensage: "ActiveControl is not an object."
>O que posso fazer?
Existe um problema, só com o Debugger. Isto difficulta a depuraçao. Ainda pode referir-se ao ActiveControl.
Por exemplo, pode mostrar o valor de ThisForm.ActiveControl.Name num WAIT WINDOW ou MessageBox().
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)