SPINBOX used for set hour and minutes

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • SPINBOX used for set hour and minutes

      Hello to anyone,
      I'm quite new in emwin library, so I've a question.

      I thought to use spinbox for set hours and minute (12:00), I would not use (for graphical space) one spinbox for hours and one spinbox for minutes, I would use only one spinbox for sets hours and minutes , it is possible ?

      In alternative what I should use ?

      Thanks a lot for helping me.

      Marco P.

      The post was edited 2 times, last by marcopazzi ().

    • Hi,

      Unfortunately, this is not possible with the SPINBOX.

      Try the example attached. I have set up a dialog which does what you want. You might want to adapt the look, but it should give you an idea on how to proceed.

      Regards,
      Sven
      Files
      • SetTime.zip

        (1.47 kB, downloaded 295 times, last: )
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.