Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Questão com ActiveControl
Message
From
10/03/2003 10:55:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
10/03/2003 09:49:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00763622
Message ID:
00763660
Views:
17
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform