Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/04/2008, 02:48
Avellaneda
Colaborador
 
Fecha de Ingreso: enero-2008
Ubicación: Unas veces aquí, otras veces allí
Mensajes: 1.482
Antigüedad: 16 años, 2 meses
Puntos: 37
Re: Imagen de fondo VB 6.0

Hola!!!

Una forma sencilla es colocar un control Picture en el form y después:

Código:
Private Sub Form_Load()
Image1.Stretch = True
Image1.Picture = LoadPicture(App.Path & "\MiImagen.jpg")
End Sub

Private Sub Form_Resize()
With Image1
    .Left = 0
    .Top = 0
    .Width = Me.Width
    .Height = Me.Height
End With
End Sub
un saludo


Perdón, dije un "control Picture" debe ser un control Image.

Última edición por Avellaneda; 07/04/2008 a las 03:11