its possible to change widget title pls from code?! thnks
https://docs.blynk.io/en/blynk.edgent/mainoperations/widget-properties
Try changing the “label” using the setProperty command.
Pete.
it does not work
Are you using virtual pin or digital/analog pin ?
Your screenshot doesn’t make it clear exactly what it is that you are trying to change, or what type of widget you are using.
Maybe you can elaborate?
Pete.
I guess he’s using a labeled value and " ACTIVE Player " is a label not a title
widget = segment switch (Player1, Player 2…) with title “ACTIVE Player …” … this title i need change
A screenshot in edit mode would be helpful!
Pete.
Show me the widget that you want to change, in Edit mode, and the text that you want to change.
Pete.
And this is the text you want to change?..
If so, tell us how you issued the Blynk.setProperty()
command, and what syntax you used for that command.
Pete.
what i tried is replacing “title” - but i almost think the title can’t be changed
Have you tried this
Blynk.setProperty(V0, "label", "My New Widget Label");
It certainly is possible to change the title of a segmented switch in Blynk Iot - I’ve just tested it.
However, unless you can be bothered to give us a full and meaningful answer to this question…
it’s almost impossible for us to help.
Pete.
you’re right - I was inattentive, thank you for not giving up on me!
I noticed that in the old version of the widget segment switch it was possible to display only 1 item / here in this, even if only one item from the code I will always send at least 2 items
I don’t understand this at all. Is it a question? If so, can you elaborate please?
Pete.