home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 August / WPCAUG96.ISO / multi / singing / shared.dxr / 01983.ls < prev    next >
Encoding:
Text File  |  1996-06-12  |  753 b   |  28 lines

  1. on resizecast
  2.   global dataFirst, dataLast
  3.   InitDataRange()
  4.   repeat with i = dataFirst to dataLast
  5.     put i
  6.     if the castType of cast i <> #empty then
  7.       set the rect of cast i to rect(0, 0, 279 - 16, 292)
  8.     end if
  9.   end repeat
  10. end
  11.  
  12. on colorisefields
  13.   repeat with i = 861 to 3000
  14.     if the castType of cast i <> #empty then
  15.       put i
  16.       set the textFont of field i to "Helvetica"
  17.       set the textSize of field i to 12
  18.       set textlength to the number of words in field i
  19.       repeat with t = 1 to textlength
  20.         if the textStyle of word t of cast i contains "bold" then
  21.           put i && "blueing word " & t
  22.           set the foreColor of word t of cast i to Blue()
  23.         end if
  24.       end repeat
  25.     end if
  26.   end repeat
  27. end
  28.