Author Topic: ImageDisplayByValue and BackgroundImageLayout  (Read 3513 times)

Godra

  • Hero Member
  • *****
  • Posts: 1446
    • View Profile
Re: ImageDisplayByValue and BackgroundImageLayout
« Reply #15 on: May 12, 2017, 01:13:21 AM »
Is your picture from Design Mode or Runtime?
« Last Edit: May 12, 2017, 07:13:34 PM by Godra »

oqapsking

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Re: ImageDisplayByValue and BackgroundImageLayout
« Reply #16 on: May 12, 2017, 02:50:03 PM »
both the same thing

Godra

  • Hero Member
  • *****
  • Posts: 1446
    • View Profile
Re: ImageDisplayByValue and BackgroundImageLayout
« Reply #17 on: May 12, 2017, 07:18:37 PM »
Did you rebuild the solution after you added the control?

The ImageIndex property is currently set to be invisible and also not to show any image in Design Mode.
I am not sure how come that you can see the image.

oqapsking

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Re: ImageDisplayByValue and BackgroundImageLayout
« Reply #18 on: May 14, 2017, 09:56:33 AM »
how can i enable them so i can see the changes

Godra

  • Hero Member
  • *****
  • Posts: 1446
    • View Profile
Re: ImageDisplayByValue and BackgroundImageLayout
« Reply #19 on: May 14, 2017, 10:47:15 AM »
Just comment out the first line of code above the ImageIndex property:

Code: [Select]
    '<System.ComponentModel.Browsable(False)> _
This will allow you to test all the images by using the ImageIndex property.

Your image selection will not be memorized since the current modification is intended to prevent images from showing in the image frame.
The image layout will be memorized.
« Last Edit: May 15, 2017, 07:47:00 AM by Godra »