I would like to ask how to use the values on the keyboard

What do you want to achieve?

I want to control the hiding of the keyboard through the keyboard logo on the keyboard in the picture below. How to do it or use what function to read that value to achieve this function?

What have you tried so far

Screenshot or video

a2eaaaa7556cb8ed9a1170b1050ce17

Others

  • SquareLine Studio version:
    squareline 1.4.1
  • Operating system:
    rt-thread
  • Target hardware:
    stm32f407zgt6

You should create an event for the keyboard and set ‘trigger’ to ‘CANCEL’ (the LVGL name of that button your arrow is pointing to), the action to ‘MODIFY FLAG’, where you can set the keyboard as the target, the flag to ‘HIDDEN’, and the action to ‘ADD’. (‘TOGGLE’ doesn’t make much sense as the cancel button along with the keyboard disappears when you press it.)

Many thanks to hermit for your help :handshake:

1 Like