Results 1 to 3 of 3

Thread: [RESOLVED] [2005] Buttons going funky

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2007
    Posts
    31

    Resolved [RESOLVED] [2005] Buttons going funky

    Hi

    I've got some buttons which I insert pictures in and declare as flat and set their borders to 0. When I run my program the pictures are not in the buttons and they appear as standard buttons please help If you know the cause.
    I use Visual Studio 2005 and code in VB.Net and C# and ASP.NET, as well as Crystal reports
    If my post helped or my Question was good pls rate me!!!

    MORNE

  2. #2
    Hyperactive Member
    Join Date
    Jan 2007
    Posts
    351

    Re: [2005] Buttons going funky

    Which properties are you changing? 'Image' and 'flatstyle' are the ones you need. Also just looking at the button type in msdn it doesn't have a border property.

  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: [2005] Buttons going funky

    Somewhere, the settings are getting set back. However, you might consider not even using buttons in this case. After all, once you take away the caption, the 3D appearance, and the border, all you have is a small region on a form that responds to click events. That describes a panel pretty well, and might describe a PictureBox (haven't used one, but I think they respond to click events). Why use a button?
    My usual boring signature: Nothing

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