Loading ...
Sorry, an error occurred while loading the content.

Re: [Clip] PageClips Clip Library

Expand Messages
  • Alan C.
    Hi Don, ... 2nd clip (H= _htm_page_layout ) as per (a portion)(in particular, note as below) picell^%ItemNum%] such code as that is in per below example code
    Message 1 of 4 , Jun 9, 2002
    View Source
    • 0 Attachment
      Hi Don,

      >^!Find "picell[\d]*" RS
      >
      >is this why I find nothing ...

      2nd clip (H="_htm_page_layout") as per (a portion)(in particular, note as below)

      picell^%ItemNum%]

      such code as that is in per below example code taken from clip number 2, inserts picell with an cell number in each of the 9 cells of the table.

      :RepeatCell
      ^!INC CellIndex
      ^!IF ^%CellIndex% > ^%CellCount% EndCell
      ^!INC ItemNum
      ^!InsertWizardHtml <TD ALIGN="^?[(7)T&D Align=_center|left|right]" VALIGN="^?[(8)TD VAli&gn=baseline|bottom|_middle|top]">^P
      ^?[(10)&Prompt for cell text=Yes^= ^?{R^%RowIndex%C^%CellIndex%: Enter cell text}|_No^= picell^%ItemNum%]
      ^!InsertHtml ^P </TD>^P
      ^!GoTo RepeatCell
      :EndCell

      So, the find line you quoted above is in clip number 3 (cell_packer). Note that at top of the cell_packer clip it jumps the cursor to top of doc before it gets down to your quoted find line. Cell packer merely packs each cell with content and code. The construct is nested html tables. That's how the gentleman's sample created from Thumbs Plus by Cerius software it used nested tables.

      So, picell7 for example is a unique flag or marker; it's placed in the doc by clip number 2 so, as a flag, it's already in the doc before clip number 3 comes along. As cell packer, the third clip, iterates through each loop, it packs a cell. cell packer finds each picell flag/marker and replaces the marker with the table cell's content.

      HTH

      Regards. Alan.
    Your message has been successfully submitted and would be delivered to recipients shortly.