How to modify LabelControl

I created a LabelControl with URL link embedded. When this label gets clicked a web browser opens a google.com site.

urlLink="<a href=\"http://www.google.com\"> Google </a>" global label label=scriptDialog.AddControl( "label01", "LabelControl", urlLink, 100, -1, "" )

Somewhere down the road I want to modify the value stored in Label’s urlLink. I want to change stored microsoft.com

What would be a correct syntax to set a new label attribute?

If you want to modify the label’s text you can just do the following:

urlLink="<a href=\"http://www.google.com\"> Google </a>"
global label
label=scriptDialog.AddControl( "label01", "LabelControl", urlLink, 100, -1, "" )
label.setText("<a href=\"http://www.microsoft.com\"> Microsoft </a>")

The last line changes the text from a URL link to google.com to a URL link to microsoft.com.