2021-11-16 06:57 AM
Hi,
I have two containers on my screen. Two of them is visible. However I want to know which one is appearing on the screen. Is there a function about it or a way?
2022-02-24 02:11 AM
Hello @Ezgi Şanver ,
I'm not sure to understand exactly why you want to know programmatically which element is appearing on the screen. Can you provide me the user case ?
But, if you want to control which element is appearing or not on the screen, you can use the setVisible(bool) method from the Drawable class.
Otherwise, in TouchGFXDesigner, the order in which you place the elements in the "widget list" has an influence on which the element is in foreground or in background on the screen. For example :
Hope that this helped you,
/Yoann