I only have keyboard input device.
SPINBOX_GetSkinFlexProps(&SPINBOX_pProps, SPINBOX_SKINFLEX_PI_FOCUSED);
SPINBOX_pProps.ColorBk = GUI_BLUE;
SPINBOX_pProps.ColorText = GUI_WHITE;
SPINBOX_pProps.ColorArrow = GUI_WHITE;
SPINBOX_pProps.aColorUpper[0] = GUI_BLUE;
SPINBOX_pProps.aColorUpper[1] = GUI_BLUE;
SPINBOX_pProps.aColorLower[0] = GUI_BLUE;
SPINBOX_pProps.aColorLower[1] = GUI_BLUE;
SPINBOX_SetSkinFlexProps(&SPINBOX_pProps,SPINBOX_SKINFLEX_PI_FOCUSED);
this is what I set for SPINBOX, but only the upper botton's color changed when the focus is on, neither background color nor text color changed, I'v tried so many ways, I found SPINBOX_SetBkColor() has higher priority even hasn't use, is this a BUG, can any great man fix this? I'm new so not familiar with the callback function.
this is only happen when SPINBOX_SKINFLEX_PI_FOCUSED
my device is STM32F429, cubemx4.27.0, F4 package is 1.21.0, 5.42 emwin manual is inside.
SPINBOX_GetSkinFlexProps(&SPINBOX_pProps, SPINBOX_SKINFLEX_PI_FOCUSED);
SPINBOX_pProps.ColorBk = GUI_BLUE;
SPINBOX_pProps.ColorText = GUI_WHITE;
SPINBOX_pProps.ColorArrow = GUI_WHITE;
SPINBOX_pProps.aColorUpper[0] = GUI_BLUE;
SPINBOX_pProps.aColorUpper[1] = GUI_BLUE;
SPINBOX_pProps.aColorLower[0] = GUI_BLUE;
SPINBOX_pProps.aColorLower[1] = GUI_BLUE;
SPINBOX_SetSkinFlexProps(&SPINBOX_pProps,SPINBOX_SKINFLEX_PI_FOCUSED);
this is what I set for SPINBOX, but only the upper botton's color changed when the focus is on, neither background color nor text color changed, I'v tried so many ways, I found SPINBOX_SetBkColor() has higher priority even hasn't use, is this a BUG, can any great man fix this? I'm new so not familiar with the callback function.
this is only happen when SPINBOX_SKINFLEX_PI_FOCUSED
my device is STM32F429, cubemx4.27.0, F4 package is 1.21.0, 5.42 emwin manual is inside.
The post was edited 2 times, last by mountain ().