Hi,
I'm using the LUA MessageBox() command to display a dialog containing multiple inputs, and it works fine, as shown below.
Code
local result = MessageBox({
icon="time",
backColor="Global.PartlySelected",
title = "Example Title",
message = "This is the message.",
commands = {{value=1, name="Ok"}, {value=2, name="Cancel"}},
inputs = {
{name = "Example Input 1", value = "100"},
{name = "Example Input 2", value = "200"}
},
})
Display More
This results in the following dialog.
What I'd like to do is display a different icon for each input at the start of each input row.
Also, I'd like to set the background color of each input row differently.
I've seen examples of this being done, but can't find out how to do it!
I've tried the obvious. e.g. using "icon" and "backColor" properties on the inputs table, but it doesn't work.
Any help would be appreciated.
Thanks,
Nigel