fiorilli Posted March 18, 2021 Share Posted March 18, 2021 Hello, after updating the unigui to version 1546 I am facing a problem with components that are released at run time, they do not disappear from the screen. sample code below: i := 0; while i < fAtendimento.ComponentCount do begin if (pos('frameComentarios', fAtendimento.Components[i].Name) > 0) or (pos('frameHistoricos', fAtendimento.Components[i].Name) > 0) then begin fAtendimento.Components[i].Free; i := i - 1; end; i := i + 1; end; Obs. I already returned to version 1535 to test and the problem is really in 1546 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 18, 2021 Share Posted March 18, 2021 1 hour ago, fiorilli said: after updating the unigui to version 1546 I am facing a problem with components that are released at run time, they do not disappear from the screen. sample code below: Hello, Are you sure that this code is executed at all? Can you make a simple testcase to test? Quote Link to comment Share on other sites More sharing options...
fiorilli Posted March 18, 2021 Author Share Posted March 18, 2021 Hello, here is a testcase. To help in understanding: the problem occurs only with frames, as apparently a "framepanel" is being created along with each frame. FrameTest.rar Quote Link to comment Share on other sites More sharing options...
Fábio Matte Posted March 18, 2021 Share Posted March 18, 2021 4 hours ago, fiorilli said: Hello, after updating the unigui to version 1546 I am facing a problem with components that are released at run time, they do not disappear from the screen. sample code below: i := 0; while i < fAtendimento.ComponentCount do begin if (pos('frameComentarios', fAtendimento.Components[i].Name) > 0) or (pos('frameHistoricos', fAtendimento.Components[i].Name) > 0) then begin fAtendimento.Components[i].Free; i := i - 1; end; i := i + 1; end; Obs. I already returned to version 1535 to test and the problem is really in 1546 The same happened to me, I had to go back to version 1545 to not have problems. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted March 18, 2021 Administrators Share Posted March 18, 2021 Confirmed. It will be fixed in next build. 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.