08-20-2011, 08:34 PM
Lorena,
Try This
Thanks,
Arul.D
Try This
Code:
Dim oDialog:set oDialog=Dialog("text:=Login")
set obj1=description.Create()
set obj2=description.Create()
obj1("Micclass").Value="WinEdit"
obj2("Micclass").Value="WinButton"
set oCount=oDialog.Childobjects(obj1)
set oCount1=oDialog.Childobjects(obj2)
'Msgbox oCount
's=oCount.Coun
If oCount.Count=1 then
Msgbox"Editbox is exist"
End if
If oCount1.Count=0 then
Msgbox"Button is exist"
End if
Thanks,
Arul.D