[Gambas-user] Coding problem

Fabien3D creafab at ...402...
Sat Apr 3 11:43:14 CEST 2004


Thanks for the reply, but some things are still too weird for me !
This is the modified code according to your advices :

PUBLIC SUB Main()
  
  hImage AS Image
  
  i AS Integer
  j AS Integer
  
  hImage = NEW Image
  
  hImage = hImage.Load("/home/fabien/Economiseur_ecran/Panoramique 
Uluru_1.jpg")
      
END

PUBLIC SUB Form_Open()
  
  pcbScreenSaver.X = 0
  pcbScreenSaver.Y = 0
  
  pcbScreenSaver.Picture = hImage.Picture
'This line code doesn't work apparently because the compiler doesn't know what 
hImage is !

  pcbScreenSaver.Visible = TRUE

    
END

What am I doing wrong ?

-- 
Fabien3D

CREAFab, la création numérique autrement...
http://creafab.free.fr





More information about the User mailing list