Hi.
What do you mean?
Can you better explain the issue and what you’re trying to achieve?
Regards,
Sara
On page 254 (Project description) the displays have the threshold showing as black on white. On pages 263 and 264, the threshold is black on white, but the second digit is highlighted in Blue. That highlighting does not go away at any point when I use the provided code. I’m assuming that some program step or setting was omitted. Didn’t find anything in the LVGL guide. In other GUIs it would be a matter of shifting focus to another object.
Hi.
I tested several ways, and I couldn’t achieve what you wanted to do.
I was able to deselect the number (now, the number is not highlighted in blue).
However, I couldn’t find a way to add the cursor focus back after removed.
The behavior will be the same, but you won’t see the highlighted numbers (cursor select in blue color).
After this line:
LV_LOG_USER(“Threshold value %d”, (int)lv_spinbox_get_value(spinbox));
Add this one to your code:
lv_obj_remove_style(spinbox, NULL, LV_PART_CURSOR);
P.S. I’m sorry for taking so long to get back to you. I’ve been sick for the past few days.
Regards,
Sara