Thread: Problem

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Location
    Australia
    Posts
    24
    Rep Power
    0

    Problem


    I'm trying to make a function for a program that displays an umage from an imagelist when a button is pressed, but the picture isn't being displayed, this is what I have so far:
    Code:
    Private Sub btnBasic_Click(sender As System.Object, e As System.EventArgs) Handles btnBasic.Click
            If btnBasic.Enabled = True Then
                picImage.Image = ImgList.Images(0)
            End If
        End Sub
    Any suggestions on how to display the image
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Location
    Australia
    Posts
    24
    Rep Power
    0
    Originally Posted by Problematic
    I'm trying to make a function for a program that displays an umage from an imagelist when a button is pressed, but the picture isn't being displayed, this is what I have so far:
    Code:
    Private Sub btnBasic_Click(sender As System.Object, e As System.EventArgs) Handles btnBasic.Click
            If btnBasic.Enabled = True Then
                picImage.Image = ImgList.Images(0)
            End If
        End Sub
    Any suggestions on how to display the image
    Don't worry, the images are showing, the problem is that they are too small to see, so now I need to know how to resize them to be as big as picImage.

IMN logo majestic logo threadwatch logo seochat tools logo