2024-03-09 05:14 AM
Hi all!
I'm looking for a custom numerical keypad, with negative sign, comma(for float vaues) , clear and enter.
How can i create? I found only querty, and numerical without comma and sign.
Thank you!
Solved! Go to Solution.
2024-04-04 02:14 AM
No problem! :smiling_face_with_smiling_eyes:
Regards,
2024-04-04 03:01 AM
I have an error.
If I click enter or esc, i call resetBuffer.
Then i click button, the textarea is empty, but i click a number then the last value is loading. Only with numkeys
TThanks!
2024-04-04 06:16 AM
Hello @Thomas8607 ,
Thank you for the input.
I have send you a fix in private message and I have updated the custom widget package.
Regards,
2024-04-11 02:36 AM
2024-04-11 03:09 AM
Hello @Thomas8607 ,
The model is used if you want to communicate with the outside of your screen basically.
In your case, you seem to keep your data in diplayValue.Intervallum.so you don't need to use the model if it is actually stored already somewhere.
If it works for you that way, no need to make it more complex! :grinning_face:
Regards,
2024-04-11 05:08 AM
I am asking because I have other displayed data, which is displayed continuously and I had to solve it through the model. If I used the data to be displayed in the view, then when entering the given page, its value is 0 for a moment (rpm needle in the video)
with model: Video 1
without model: Video 2
Thank you!
2024-04-11 07:11 AM - edited 2024-04-11 07:13 AM
You first video is not accessible because it is a link to your youtube studio.
From the video I see 2 things :
1.
There is an animation when entering the screen where the needle goes back and forth.
This animation stops at 0 so even there is no delay, there will be a jump from 0 to the value.
Therefore, I am not even sure the data takes time to be fetched, maybe the end of animation is a bit slow.
But IMAP and EMAP are also at 0 until the animation ends. Am I wrong?
You update the values from the handle tick event but it is probably called only after the animation is finished.
You should probably create a custom animation on screen change so that it would load IMAP and EMAP instantly and stop the needle when it reach the value of the data.
2.
When you come from a screen back to the main screen there is a single frame where those values are indeed at 0.
That would indeed be fixed by using the model just like you did for the other values, you are right.
PS: Good looking UI ! :beaming_face_with_smiling_eyes:
Regards,