Jump to content

After installing version 1546 excluded components at run time do not disappear from the screen


fiorilli

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...