Curl
 

Menu
 Chapter.1
 Chapter.2
 Chapter.3
 Chapter.4
 Chapter.5
 Chapter.6
 Chapter.7
 Chapter.8
 Chapter.9
 Chapter.10
 
 
■Tableへの列の追加

同様にcolumn-prototypeプロシージャを使用すると、列全体のオブジェクトをまとめてTableに追加できます。
Part.1の表を列を基準にしたリストで作成した場合下記のようになります。


【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,
{column-prototype
{bold 質問},
"名前",
"職業",
"年齢"},
{column-prototype
{bold 答え},
"漱石",
"犬",
"2歳"}
}


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



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