Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWButton.Image bug
#1
When using TIWButton.Image.WebFontClass to create icon button, adjusting some property of the button (Css, Visible, Enabled) asynchronously will make the icon disappear.
To replay, create a IW project
1) In IWAppForm, add font awesome to contentFile (https://cdnjs.cloudflare.com/ajax/libs/f...me.min.css).
2) Add 2 TIWbutton.
3) 1st button set TIWButton.Image.WebFontClass to 'fa fa-plus'.
4) 2nd button create OnAsyncClick Event.
Code:
procedure TIWForm1.btnBugAsyncClick(Sender: TObject; EventParams: TStringList);
begin
// TIWControlImage for icon button break if change any of the below one in async
  btnIcon.Css := 'test';
//  btnIcon.Visible := not btnIcon.Visible;
//  btnIcon.Enabled := not btnIcon.Enabled;
end;
- For sample attached (IWButtonBug.zip), click on bug button to replay the issue


Attached Files
.zip   IWButtonBug.zip (Size: 7.42 KB / Downloads: 1)
Reply
#2
I suppose you are using the latest IW vesion?

I'll have a look and get back to you.

Cheers,
Reply
#3
(09-25-2023, 10:13 PM)Alexandre Machado Wrote: I suppose you are using the latest IW vesion?

I'll have a look and get back to you.

Cheers,

No, I was using 
Intraweb version: 15.2.69
Delphi version : 11.3

Thank you.
Reply
#4
(09-25-2023, 10:13 PM)Alexandre Machado Wrote: I suppose you are using the latest IW vesion?

I'll have a look and get back to you.

Cheers,

I noticed that this was mentioned in a bug fix for IW version 15.3.0 patch notes. Sorry for the inconvenience.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)