Hi,
Is there a way of changing the background color of a textblock dynamically using a select menu or by other means? I want to keep the existing text.
Something similar to this nonfunctional example, just to clarify:
$(go.TextBlock, {
text: “Test”,
stroke: “#000”,
background: “#CCC”,
textEditor: window.TextEditorSelectBox,
choices: [“yellow”, “white”]
},
new go.Binding(“background”, “choices”)
)
Brgds
Jan