Register / Login  |  Desktop view  |  Jump to bottom of page

tcMenu Designer UI » Own Text Format

Author: NewOne
08/02/2021 16:56:43
Hey,
is it possible to create a new textformat by myself ? I need a time format, but without seconds. Only hours and minutes on the display.

Author: davetcc
08/02/2021 17:49:34
Can you please respond on the following report of a critical bug: https://www.thecoderscorner.com/jforum/posts/list/95.page. We have tried to recreate this scenario both on the in-development version, and the production 1.7 version, we cannot recreate it, getCurrentValue always returns the right value. If you are still able to recreate this issue, please provide the library versions, board version from board manager, and the board that you are using.

In terms of the issue, it is more than possible, but it's not trivial, if you are used to C++ programming you could. Another option without waiting is to use a regular text field and format it yourself. However, we were thinking of adding duration anyway, so we could add this at the same time. Please feel free to comment on https://github.com/davetcc/tcMenuLib/issues/90

Author: davetcc
15/02/2021 21:11:11
As per issue 90 in the above link, this will be out of the box in tcmenu 2.0. It will support HH:MM 24 hour, HH:MM:[AM/PM] 12 hour, and durations where the hours are only displayed if not 0.




Register / Login  |  Desktop view  |  Jump to top of page