Page 1 of 1

Link object internally in the interface panel

Posted: Sun Feb 05, 2023 5:42 pm
by ElectricRay1981
Is there any way to send e.g. the Trackbar.Value to a label.text directly in the interface panel? Or is this impossible?

I tried this:

Code: Select all

[lblSpeedSetpoint.Text] = [TrackBarMotorSpeed.Value]
But this is not accepted

Re: Link object internally in the interface panel

Posted: Fri Feb 17, 2023 7:16 am
by philr
Hi, you can use this notation

{IPTextBox1.Text = IPTrackBar1.Value.ToString()}

I use {} brackets cause it stops any serial data from being sent as well. If you did want serial data to be sent you can change to []