Advertisement
jsbsan

formularioparaMostrarimagenes

Apr 10th, 2014
3,076
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GAMBAS 0.31 KB | None | 0 0
  1. ' Gambas class file
  2.  
  3. Public Sub setImagen(valor As String)
  4.   PictureBox1.Picture = Picture[valor]
  5.   PictureBox1.Stretch = True 'ajuste de las dimensiones de la imagen al tamaño del picturebox1
  6. End
  7.  
  8. Public Sub Form_Open()
  9.   Label1.text = Me.tag 'mostramos el dato pasado al formulario
  10.   Me.Center
  11. End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement