Description
I want to manage the calendar by sending an event LV_EVENT_KEY
What MCU/Processor/Board and compiler are you using?
What LVGL version are you using?
8.3
What do you want to achieve?
What have you tried so far?
Code to reproduce
PanelEditParam.Calendar = lv_calendar_create(PanelEditParam.MainPanel);
PanelEditParam.Calendar_header = lv_calendar_header_dropdown_create(PanelEditParam.Calendar);
lv_obj_set_width(PanelEditParam.Calendar, 230);
lv_obj_set_height(PanelEditParam.Calendar, 240);
lv_obj_set_align(PanelEditParam.Calendar, LV_ALIGN_CENTER);
PanelEditParam.group = lv_group_create();
lv_group_add_obj(PanelEditParam.group, PanelEditParam.Calendar);
then i send the key code to the group
int key = LV_KEY_DOWN;
lv_group_send_data(PanelEditParam.group, &key);
key = LV_KEY_DOWN;
lv_group_send_data(PanelEditParam.group, &key);
but the calendar does not change the selected day
Please help me solve this problem.
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.