ShapeContainer Help File


Table of Contents

ShapeContainer.Create
ShapeContainer.AddObjects

ShapeContainer.Create


(boolean) ShapeContainer.Create ( 

(table) tbl_object = {"Shape1", "Shape2"},

(table) tbl_arguments = {20, 20, 200, 120, {16777215}, {0}, 0, 0, 1},

(table) tbl_label = {Text="ShapeContainer1", FontName="Time New Roman", FontSize=12, ColorNormal=0},

(boolean) show_button = true,

(string) iicon = "AutoPlay\\Images\\icon.png",

(table) tbl_body_image = {},

(boolean) extended_script = false )

Description

This action will create a shape container

Parameters

tbl_object

(table) The two (2) object shape id (name, label)

tbl_arguments

(table) Properties of ShapeContainer Top and Body (shapes object)

tbl_label

(table) Properties ShapeContainer Label (Title)

show_button

(boolean) Whether to Show or Hide the Action Button at top right of ShapeContainer (that will can collapse or expand the ShapeContainer Body)

iicon

(string) The ShapeContainer Image "Icon" Full Path (Located at the ShapeContainer Top Left)

tbl_body_image

(table) The ShapeContainer Body Picture (All Image Properties are available). PS: Default = {} -> Dont use body image.

extended_script

(boolean) Enable or Disable Extended Lua Scripting with ShapeContainer


Return

This action returns a (boolean) value.



ShapeContainer.AddObjects


(boolean) ShapeContainer.AddObjects ( 

(number) n = 1,

(table) tbl_objects = {"Label1",{20,20},"Label2",{20,40}},

(string) link = "http://www.microsoft.com",

(boolean) msg = false )

Description

This action allow to add objects (for action collapse and expand) into the ShapeContainer. (Objects must exist on the stage: Page or Dialog).

Parameters

n

(number) ShapeContainer index (using create and begin at 1, default = 0)

tbl_objects

(table) Table of all objects that will be management by the created ShapeContainer

link

(string) The link that will be associated with ShapeContainer Title (On Click Event)

msg

(boolean) Enable or Disable Warning and Infos messages (PS: When adding objects it update the file ExtendedScript.lua then ShapeContainer need to be restarted when all objects are added to all shape containers)


Return

This action returns a (boolean) value.



Made with Action Plugin Compiler