Author Topic: PictureBox LoadPictureFile issue  (Read 161 times)

honkinberry

  • Full Member
  • ***
  • Posts: 159
PictureBox LoadPictureFile issue
« on: October 06, 2020, 10:40:16 AM »
We've been struggling with PictureBox controls not loading images at times, and finally I think I tracked down the issue.

Attached please find a simple example.  The dialog displays the image fine.
But after inserting that same image into CAD, the PictureBox does not display the image.

One the image is deleted, and Detached from the xref palette, only then will it display again in the dialog.

Please let me know if I'm crazy!

--J

Moshe-A

  • Member
  • *
  • Posts: 14
Re: PictureBox LoadPictureFile issue
« Reply #1 on: October 23, 2020, 10:47:28 AM »
honkinberry hi,

No you are not crazy! you won't believe what is the problem, the image attachment
i mean the fact that you are using the same image for the drawing and the picture box control.
if you change the name for one, it will work  :)

 Moshe