Bitmap for control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ramona van Riet

    #1

    Bitmap for control

    Hello, I am new to C#. I am using C#Builder Personal, from Borland. How
    can I give my control a bitmap in the toolbox?
    --
    Ramona
  • Champika Nirosh

    #2
    Re: Bitmap for control

    Hi,

    Not sure how to do it with the IDE but if you want to add an image to a
    control
    Say it is a button
    myButton.Image = System.Drawing. Image.FromFile( "power.gif" );
    or else you can add it as a resource and use it this way



    Nirosh

    "Ramona van Riet" <ramona@hotmail .nl> wrote in message
    news:bf9o3r$4o5 $01$1@news.t-online.com...[color=blue]
    > Hello, I am new to C#. I am using C#Builder Personal, from Borland. How
    > can I give my control a bitmap in the toolbox?
    > --
    > Ramona[/color]


    Comment

    Working...