Skip to main content
WHam.1
Associate II
January 26, 2022
Question

It is possible to use new and delete statement for widget objects in TouchGFX programming. I want to program dynamic widget in cubeIDE.

  • January 26, 2022
  • 2 replies
  • 735 views

..

This topic has been closed for replies.

2 replies

Romain DIELEMAN
ST Employee
January 26, 2022

Hi,

A bit more context would be nice but yes you can, not really recommended but doable. What are you trying to do exactly ?

/Romain

WHam.1
WHam.1Author
Associate II
January 26, 2022

In some situation, we should change the screen and widgets depending on hardware signal for handling some service easily. I try to new the widget the class of which is contained in project but it fails during construction. Is there any examples for me to benchmark?