TAdvGlowButton - DownPicture

The DownPicture property got added some time ago, but I can't seem to make it work. I assume there was a reason for not making this an ImageList as per the Images and DisabledImages. However, I would have expected that if I add a bitmap to the DownPicture, then when the Button is in the Down state, this picture would be displayed. The image displayed in the button does not change.

This is a design and run time issue.



Am I doing something wrong?



Graham

I cannot see any problem with this.

With a default TAdvGlowButton on the form initialized with:

procedure TForm1.FormCreate(Sender: TObject);
begin
  advglowbutton1.DownPicture.LoadFromFile('e:\tms\glyphs\accept.png');
end;

the glyph is visible when the button is pressed. Do you use the latest version of the component?

Try setting the "AllowAllUp" to TRUE and the GroupIndex to 1. The Image only appears while you are holding the mousebutton down. When you release the mouse, the button remains in the "Down" state, but the Image disappears.

In this particular case, it was indeed not showing the down picture and we have fixed this now. The next update will address this.