[Gambas-user] Object.class stop working

R. Stormo rohnny at ...1248...
Sat Jan 5 07:40:15 CET 2008


Why does not this work anymore?
it do crash here "    IF Object.Class(hControl) = "TextBox" THEN "
"Wanted object got string instead?"  

  DIM hControl AS Control
  'DIM i AS Integer 
  'Clear fields 
  FOR EACH hControl IN ME.Children
    IF Object.Class(hControl) = "TextBox" THEN 
      Object.Call(hControl, "Clear")
    END IF
  NEXT 


Regards Rohnny

My Gambas Community http://gambasforum.tk

-- 
View this message in context: http://www.nabble.com/Object.class-stop-working-tp14630509p14630509.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list