WebRadioGroup issue on TTMSFNCPopup

Hi Bruno,

I would like to update itemindex value of WebRadiogroup on OnPopUp event of TTMSFNCPopup. However, it does not update. I tried it on FNCRadioGroup and it works well. But TWebRadiogroup seems to have issue.

Here is the demo for you to track the issue.
16. FNCPopup.zip (2.2 MB)

Thanks,

OnPopup is triggered before the actual control is displayed.
We'll investigate further but as a workaround for now use:

procedure TForm2.WebButton1Click(Sender: TObject);
begin
  fpp_Modelopts.Popup;
  WebRadioGroup1.itemindex := 0;
  TMSFNCRadioGroup1.itemindex := 0;
end;

Thanks Bruno for the reply. One more thing we found is FNCRadioGroup works on onpopup event but WebRadioGroup does not. Hopefully it will help.

Yes, I am well aware of this.
Both controls work in an entirely different way. One uses the DOM, the other the HTML canvas.
It is DOM manipulation we can't do as long as the DOM element is not shown.

We applied a fix. Next update of TMS WEB Core will address this.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.