Skip to main content
PM.5
Associate III
Aug 27, 2022 11:14 AM UTC
Question

Moving the slider Knob without Touch.

Hi...

I have configure the slider Widget using TOUCHGFX & it is working fine with Touch. But the want to Configure the slider without touch i.e., When I give some Data through Usart , according to that data the slider knob has to move (Without touching knob).Is it Possible to configure ? If Yes , How ?

This topic has been closed for replies.

3 replies

MM..1
Super User
Aug 27, 2022 1:07 PM UTC

No problem use method to set

slider.setValue(xx);

PM.5
PM.5Author
Associate III
Aug 29, 2022 5:32 AM UTC

Thankyou for the reply. It is working.

wired
Senior II
Sep 8, 2022 11:42 AM UTC

Just be aware you may not get back the value you wrote if you do a getValue immediately after a setValue, if your range is greater than the pixel resolution. IMO, this is a bug. See here for more information.

FYI, slider still behaves the same in 4.20.