Rav Posted August 17, 2016 Posted August 17, 2016 Hello, Is it possible to make the image in TUniImage look like disabled image on the button? In VCL app for this purpose I usually create a grayed copy of the image. Also found some issue (bug?): When I want to change TUniImage by assigning different images from TUniImageList like this: im: TUniImage; ilMain: TUniImageList; b: Boolean; ............... if b then ilMain.GetIcon(102, im.Picture.Icon) else ilMain.GetIcon(101, im.Picture.Icon); the code works successfully (image is visually changed) only once, all the following code executions don't do anything, the image stays the same, though GetIcon always returns true. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.