Results 1 to 1 of 1

Thread: DrawWidth and DrawStyle could not be set?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    5,652

    DrawWidth and DrawStyle could not be set?

    I was working on a project, doing absolutely nothing related to the PictureBox controls, then all of a sudden that error pops up on load "Problems loading ctl see ctl.log for details" for a couple picture boxes.

    Make no further changes, just run again... it's happened for more PictureBoxes... making no changes whatsoever I'm getting a cascade of this happening to more and more controls every time I open the project. Again, making no further changes, and the initial changes didn't touch code related to PictureBoxes or any controls.

    Line 1016: Property DrawStyle in pbControlBox could not be set.
    Line 1016: Property DrawWidth in pbControlBox could not be set.
    Line 1028: Property DrawStyle in pbSearchContainer could not be set.
    Line 1028: Property DrawWidth in pbSearchContainer could not be set.


    and on and on, more every time. I'm worried the whole thing is getting corrupted somehow. I was working on startup issues where I was using RaiseEvent during a UserControl creation; not in initialize but following ReadProperties, and think something funky might happen there because it didn't let me set the variable referenced as an argument.
    Last edited by fafalone; Feb 28th, 2021 at 03:22 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width