Thanks guys....that was stupid of me.....lack of sleep does funny things to me.
I find it hard to believe I cannot make the message line and the title line dynamic....changeable after instantiating a new box.
I was trying to follow this example:
var TestDlg1 =
{
description:
{
name: "My Test Dialog",
elements:
[
{
type: "view",
elements:
[
{
item_id: "sta1",
name: "Check the box",
type: "static_text",
},
{
item_id: "Chk1",
name: "Check Box",
type: "check_box",
}
]
},
{
type: "ok_cancel",
},
]
}
};