DrawControlInLaoutEditor on older controls

Is this event only available if the control was ‘recently’ added to a project?

I think it’s api 2 only, ie DesktopControls. Is that perhaps the issue?

I had a control on a window and was not able to add that event.
However adding a new one to the window worked.

Seems pretty simple to me that this should just work.. but it’s not.
This fills the rect with red. works at run time just shows a box at design time.

I assume, you are on Linux ARM 64-bit? If so this has been fixed for an upcoming version.

https://tracker.xojo.com/xojoinc/xojo/-/issues/81116

1 Like

Indeed. 2026r1 arm64