For a project, I make use of the Continuous Scroll component. I've got multiple forms, one of them contains a continuous scroll with buttons added dynamically, out of which one of the buttons calls a second form which contains another continuous scroll component.
When the second form is called, it functions correctly; the continuous scroll works, the OnFetchNextPage works, etc. Now comes the problem: after closing that form using Close; the form goes away, and I get back to the main form with the main continuous scroll. However, this time, the main continuous scroll OnFetchNextPage event doesn't work, and when trying to open the second form again, that continuous scroll doesn't work anymore as well.
To reproduce the problem, I duplicated the Continuous Scroll demo. I only added a button which calls the second form the same way I do to call my second form:
Form4 := TForm4.CreateNew; Form4.Popup := True; Form4.Border := fbSingle; Form4.ShowModal;
I suspect that this way to call a form which contains a continuous scroll component is wrong, because in the reproduction, after calling the second form, both forms stop working.
I gladly accept any help.