Jump to content
Sign in to follow this  
Henry Olive

Load a PNG directly into the Speed Button Glyph ?

Recommended Posts

Good Day
Delphi 10.3
 

Is it possible to load a PNG directly into the Speed Button Glyph ?

Thank You

Edited by Henry Olive

Share this post


Link to post

You cannot assign png to glyph, but you can assign a TImageList or TVirtualImageList to the images property and using imageindex/imagename access the png picture. 

 

In order to support high dpi you should consider using TImageCollection and TVirtualImageList (where you can use the imagename property instead of imageindex).

 

(I don't have Delphi 10.3 to test this.)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×