Results 1 to 3 of 3

Thread: Moving errorprovider icon to left side?

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2004
    Posts
    54

    Moving errorprovider icon to left side?

    Hi, I'm validating some labels using ErrorProvider. It produces a neat notification icon on the right side of the label control.

    Is there a way to show the icon on the left hand side of the label control instead?

  2. #2
    Hyperactive Member Lil Ms Squirrel's Avatar
    Join Date
    Nov 2004
    Location
    planet squirrel
    Posts
    494

    Re: Moving errorprovider icon to left side?

    VB Code:
    1. errorProvider1.SetIconAlignment(Label1, System.Windows.Forms.ErrorIconAlignment.MiddleLeft )
    2. errorProvider1.SetError(Label1, "Testing");
    Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.
    Dr. Seuss

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 2004
    Posts
    54

    Re: Moving errorprovider icon to left side?

    Ahh, foolishly simple...

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