[Gambas-user] how control a picturebox create in code...
Alexis Sanchez
aasanchez at ...626...
Mon Oct 3 20:33:06 CEST 2011
i have this rutine...
PUBLIC SUB pictures_init(formulario AS Form)
DIM bicentenario AS PictureBox
'Dibujamos el logo del Bicentenario
bicentenario = NEW PictureBox(formulario)
bicentenario.Picture = Picture["img/bicentenario.png"]
bicentenario.Width = 10
bicentenario.Height = 20
bicentenario.x = Desktop.Width - 80
bicentenario.y = 30
END
in real life this function is more large, this create 50 picturebox...
ok, but, i need after create, with a timer move the picture...
something like this..
PUBLIC SUB relog_Timer()
bicentenario.x = bicentenario.x + 10
ENDIF
But i cant... launch a error... pls i need do this...
--
Alexis Sanchez
0416-2584008
Linux Counter User: 484046
http://alexissanchez.net
Ubuntu 10.10 & Kernel: 2.6.35-25
Twitter: @aasanchez
facebook: facebook.com/aasanchez
More information about the User
mailing list