To set the Border style on the NormalObject State for a Text object named Intro to plain with a border width of 4 pixels, rounded corners of 10 pixels and a border colour of blue, use the following syntax:
MyColour = RGB(0,0,255)
Intro.SetBorder("Plain",true,4,10,MyColour)
To set the same Border style as Example 1 above on the Mouse Over Object State for a Text object named Intro, use the following syntax:
MyColour = RGB(0,0,255)
createEffect = Intro.GetAppearance("Mouse Over")
createEffect.SetBorder("Plain",true,4,10,MyColour)
see also:RemoveBorder, RGB and GetAppearance