[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2034
  • Last Modified:

Set TBitmap Empty in true

Hi
When TBitmaap doesn't contain any image its Empty property is set to True. Is it possible to clear TBitmap to delete previous loaded bmp (Empty is False) and set back Empty property to True?

Vasily.
0
vterekh
Asked:
vterekh
  • 2
  • 2
1 Solution
 
TOndrejCommented:
See Dormant and FreeImage methods, and their help example.
0
 
MadshiCommented:
"bmp.Assign(nil);" has the desired effect.

Regards, Madshi.
0
 
TOndrejCommented:
Correct, Madshi's suggestion was much better... :-)
How could I forget Assign(nil)?
Why oh why didn't I take the *blue* pill?
:-)
Wish you a nice Monday morning...
0
 
MadshiCommented:
Well, I took the red pill. This steak is juicy!!   :-)
0
 
vterekhAuthor Commented:
Ok, in that case I will follow the white rabbit :)))
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now