Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Demo's for IWJQAccordion and IWJQPageControl
#9
@jeroen.rottink, the case where a new page is created in an async request (and the IWjQPageControl has been created before) fails with an AV, yes.

There is an easy workaround though:

procedure TIWForm1.IWButton1AsyncClick(Sender: TObject; EventParams: TStringList);
var
aPage: TIWjQTabPage;
begin
aPage := IWjQAccordion1.CreateSection('Testing');
Self.ComponentRemoved(aPage, '');
end;

The issue happens because the TIWjQTabPage shouldn't be rendered as a separate control, which is effectively happening in this case.

We will fix it in the next release, but in the meantime the workaround above can be safely used.
Reply


Messages In This Thread
RE: Demo's for IWJQAccordion and IWJQPageControl - by Alexandre Machado - 04-21-2023, 11:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)