61536 - WebUIControl: Changing location is undone by visibility or contents change

feedback://showreport?report_id=61536

Although you can change the location and size of a WebUIControl, these changes are lost by various operations.

For example:
WebRadioGroup1.top = WebRadioGroup1.top + 20 // Works!

But if you then do
WebRadioGroup1.visible = false
WebRadioGroup1.visible = true

you will see that WebRadioGroup1.top has been reset to the design-time value.

  • Also seen with WebRadioGroup.addRow
  • This also affects other controls, such as WebButton