Hello,
Is there a general message one can send to any widget to reset it to its default value?
Hello,
Is there a general message one can send to any widget to reset it to its default value?
Not really, this would do if default
is explicitly set:
/SCRIPT "set('widget_id', getProp('widget_id', 'default'))"
Thank you, Jean-Emmanuel, but I am not sure to understand "if default is explicitly set". Does it mean that the defaut value of the targeted widget should be set, which seems obvious, but I suspect you mean something else.
Indeed I mean that the default property is not empty.