I have a problem with Script, i am do some practice, if text1 number > text2 then quad visible=ture ,but there not work ,what wrong with my Script ,THX
dim quad as xpbaseobject
dim text1 as string
dim text2 as string
self.getobjectbyname("Quad1",quad)
self.getstringbyname("Text1",text1)
self.getstringbyname("Text2",text2)
if string.compare(text1 ,text2) then
quad.visible=true
else
quad.visible=false
end if