AutoPlay Media Studio 9

Button.SetSize

Button.SetSize

This is the first topic This is the last topic  

Button.SetSize

This is the first topic This is the last topic  

OverviewExamples

Button.SetSize (

string ObjectName,

number Width,

number Height )

Example 1

Button.SetSize("Grower", 100, 150 );

Set the "Grower" button object's width to 100 pixels and it's height to 150 pixels.

Example 2

Button.SetSize("Expand", Button.GetSize("Expand").Width + 200, Button.GetSize("Expand").Height + 100);

Increases the"Expand" button object's current width by 200 pixels and it's current height by 100 pixels. The Button.GetSize action is used here to get the current size of the button object.

See also: Related Actions


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us