Jump to content

TUniImage Fill out Black


david0204

Recommended Posts

Hi Everyone,

I use C++ Builder 10.1. I want to fill out Black.It doesn't work.Following are my codes.

 

void __fastcall TUniLoginForm1::UniButton3Click(TObject *Sender)
{
   UniImage1->Picture->Bitmap->Canvas->Brush->Color =clBlack;
   UniImage1->Picture->Bitmap->Canvas->FillRect(UniImage1->ClientRect);
}
 
Does anyone know how to fix it? Thanks.
Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...