What do you want to achieve?
I am attempting to have a group of radio/checkbox items whereby if one is selected the remaining will be deselected and have a handle on the selected item
What have you tried so far?
Attempted to use the process outlined in LVGL docs Checkbox (lv_checkbox) — LVGL documentation but that code may be fine on a stand alone but not in the EEZ studio page framework
Code to reproduce
/*You code here*/
void action_set_source(lv_event_t *e) {
int * lv_checkbox; // create a user data type pointer
lv_checkbox = (int*)lv_event_get_user_data(e); // cast the return pointer to data type pointer
//printf("btn no. %d \n", * lv_checkbox); // use the pointer value…
//printf("user data is %d\n", lv_checkbox);
if (lv_checkbox != NULL) {
if (*lv_checkbox == 1)
{
printf("on one");
}
else{
printf("who knows on one");
}
} else {
printf("no user data\n");
} << causes a reboot (bad code)
Screenshot and/or video
Environment
- MCU/MPU/Board: ESP32 dev module 8 meg
- LVGL version: 9.4

