What syntax would I use for the color.
if (event.source.parent.lbs == 0):
value = ??‘Red’??
event.source.editableBackground = value
else:
value = ??‘Green’??
event.source.editableBackground = value
What syntax would I use for the color.
if (event.source.parent.lbs == 0):
value = ??‘Red’??
event.source.editableBackground = value
else:
value = ??‘Green’??
event.source.editableBackground = value
See fpmi.gui.color()
if (event.source.parent.lbs == 0):
value = fpmi.gui.color('red')
event.source.editableBackground = value
else:
value = fpmi.gui.color('red')
event.source.editableBackground = value