i am trying to create 3 fields within a set location
i am using templatefield to define the field.
Code: Select all
reset the templateField
set the style of the templateField to "transparent"
set the borderwidth of the templateField to "1"
set the showname of the templateField to "false"
set the width of the templateField to "106"
set the icon of templateField to "1001"
set the height of the templateField to "40"
set the visible of the templateField to "true"
set the autohilite of the templateField to "false"
set the sharedhilite of the templateField to "false"
set the traversalon of the templateField to "false"
set the threed of the templateField to "false"
set the hiliteborder of the templateField to "false"
Code: Select all
put any item of "A,B,C" into pShape
if pShape = "A" then createShapeA
if pShape = "B" then createShapeB
if pShape = "C" then createShapeC
Code: Select all
on createShapeA
set templateField to loc 54,40
set the label of the templatefield to "fieldA"
set the icon of the templatefield to "1102"
set the name of the templatebutton to "fieldA"
create field ("field" & pShape) in group "shape"
end createShapeA
i want to keep generating and replacing fields the issue i have is that i might need field A to move into where field b is and vis versa
so is there a way i can just just move them along kinda like a conveyor belt or can i just randomly rename them with out moving them?
any advice is well come at this stage.
thanks