Skip to main content
ABIZO.1
Associate II
November 24, 2022
Solved

Save choice Radio Button

Hello,

I have a TouchGFX project with a STM32F429DISCO board. On my home page I have 3 radio button and there are all in the same RadioButtonGroup. But when I go in other screen and I come back to my home page, the choice of radio button is reset.

How to fix it ?

Thanks for all

This topic has been closed for replies.
Osman SOYKURT
Osman SOYKURTBest answer
ST Technical Moderator
November 24, 2022

Hello ABIZO.1,

You need to save the values of your 3 radio buttons when you change screens, so when you come back you'll reapply them. I invite you to follow our Tutorial 3 in our website, in which we talk about saving datas and the Model-View-Presenter pattern we use for TouchGFX projects.

/Osman

ST Software Developer | TouchGFX

2 replies

Osman SOYKURT
Osman SOYKURTBest answer
ST Technical Moderator
November 24, 2022

Hello ABIZO.1,

You need to save the values of your 3 radio buttons when you change screens, so when you come back you'll reapply them. I invite you to follow our Tutorial 3 in our website, in which we talk about saving datas and the Model-View-Presenter pattern we use for TouchGFX projects.

/Osman

ST Software Developer | TouchGFX
ABIZO.1
ABIZO.1Author
Associate II
November 24, 2022

Thank you ! I find the solution.