General information
Category:
Coding, syntax & commands
>I want to use AddObject to add a object on my form. How do I know if the object is already added?
>
>Thanks in advance.
>
>Jim
If the name of your object is MyObject, than:
if type("ThisForm.MyObject") = "O" and (ThisForm.MyObject <> NULL)
*-- The object already exists
else
*-- The object doesn't exists
endif
Vlad
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only