Using TTMSFNCButton in Web Core

Hi,

When a put a TTMSFNCButton in a TWebPanel and set it's color to say gcDarkGreen, the button doesn't use that background and there seems no way of setting it.

Thanks,

Ken

Hi,

Currently it's not possible to set the Color property of TTMSFNCButton at design-time, but the following worked correctly here:

procedure TForm3.WebFormCreate(Sender: TObject);
begin
  TMSFNCButton1.Color := clRed;
end;

Thanks. Whilst this works I then can't see the bitmap which is from a TTMSFNCBitmapContainer which displays correctly at design time.

We cannot reproduce such behavior, the bitmap displays correctly at run time. Can you write down your exact steps or send a small test project that demonstrates this issue separately?

Nor can I in a simple test app. I will have to do some more testing.

I eventually got this working but I can't use it as I am not using text and when enabled is false there is no visual difference.