SC4.8 Another SuperTalk Error Number 66

Need help with a script? This is the place to discuss how to get your code running!

SC4.8 Another SuperTalk Error Number 66

Postby sctell » Mon Mar 21, 2016 11:00 am

This time in this script that works in SC 4.7

Code: Select all
on drawFld x,y,x1,y1,tTextFont,tTextSize,tTextColor,tFillColor,tText,tTextAlign
put the uObjectList of me into tObjectList
put the uXLoc of me into tXLoc
put the uYLoc of me into tYLoc
new field
put the id of the last cd fld into tID
set the rect of cd fld id tID to x + tXLoc,y + tYLoc,x1 + tXLoc,y1 + tYLoc
set the showFrame of cd fld id tID to false
set the showPen of cd fld id tID to false
set the fillPat of cd fld id tID to 12
set the fillFore of cd fld id tID to tFillColor
set the textColor of cd fld id tID to tTextColor
set the textFont of cd fld id tID to tTextFont
set the textSize of cd fld id tID to tTextSize
set the textAlign of cd fld id tID to tTextAlign
put tText into cd fld id tID
set the locked of cd fld id tID to true
--set the lockText of cd fld id tID to true
set the dontWrap of cd fld id tID to true
set the showFill of cd fld id tID to false
set the autoDim of cd fld id tID to false
put the name of the last cd fld & return after tObjectList
set the uObjectList of me to tObjectList
end drawled


All the best


Terry
sctell
 
Posts: 1128
Joined: Sun Jul 06, 2008 10:41 am

Return to Scripting in SuperTalk

Who is online

Users browsing this forum: No registered users and 1 guest

cron