Where (in wich file) can you override virtual method of a widget for example slider.setValue() is virtual method
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-01-28 4:46 AM
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-02-10 2:10 AM
Hi,
Are you working with a project only based on the simulator or with a hardware (so creating a project with a TBS from TouchGFX Designer or from scratch with STM32CubeMX or STM32CubeIDE)? If not just on the simulator then a touchgfx folder with the library will be generated in the Middleware/ST folder. There you can navigate and find files related to the sliders which you will be able to modify. Watch out as this files may be overwritten when regenerating code from STM32CubeMX. The other solution would be to create your own widget and base your code on the slider one.
/Romain
