Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Addobject
Message
From
02/04/2004 10:45:23
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00891775
Message ID:
00891780
Views:
19
Hi James!
>How do you test to see if a object has already been added to a form.
>"if hsgrid1 does not exist already"
>.addobject('hsgrid1','grid')
>else
>"continue"
>Jim Harvey
Try this:
If Type([thisForm.hsGrid1]) = "U"  && If exist it return "O"
   thisForm.AddObject('hsgrid1','grid')
Endif
I hope this help you!
Erick
Força Sempre!
Strength Always!
Previous
Reply
Map
View

Click here to load this message in the networking platform