Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RemoveObject does it at will
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00871699
Message ID:
00871701
Views:
15
Hi Kamil,

You must use TYPE().

MartinJ

>Hi.
>VFP7.0, sp1.
>The following code:
>
>With This &&(container)
>.RemoveObject('Label2')
>.RemoveObject('Command3')
>.RemoveObject('Command4')
>* doing something irrelevent to Command3/4
>?VarType(.Command3)+VarType(.Command4)+VarType(.Label2) - displays OOU
>EndWith
>
>Changing to VarType(This.Command3) doesn't help
>if i put VarType(.Command4.Tag)
>"Unknown element" error message.
>
>...scratching the back of the head
>yours truely
>Kamil
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform