Curl
 

Menu
 Chapter.1
 Chapter.2
 Chapter.3
 Chapter.4
 Chapter.5
 Chapter.6
 Chapter.7
 Chapter.8
 Chapter.9
 Chapter.10
 
 
■座標で指定した位置へのオブジェクトの追加

rowおよびcolumnキーワード引数を使用すると、表の中の特定のセルにオブジェクトを追加できます。
たとえば、下記ではxy座標を明示的に使用して、通常とは逆の順序でセルを追加していきます。

【Tableでの座標指定】
{curl 6.0 applet}
{curl-file-attributes character-encoding = "shift-jis"} {Table columns=2,background="beige",cell-border-color="black",cell-border-width=1pt,
{bold 質問}, {bold 答え},
{cell-prototype "年齢", row=3, column=0},
{cell-prototype "2歳", row=3, column=1},
{cell-prototype "職業", row=2, column=0},
{cell-prototype "犬", row=2, column=1},
{cell-prototype "名前", row=1, column=0},
{cell-prototype "漱石", row=1, column=1}
}


この例の出力はPart.1の表と同じです。



Chapter.6(Part.2)へ戻る
Chapter.6(Part.4)へ進む