extends TextChar; Haba = 25; // 行間 text="obb,eemu"; function draw(){ i=0; e=0; t=text.split(); // \nで区切って配列作成 for (e in t) { $panel.drawtext(123,66+Haba*i,e,$clBlack,9); // 1行ずつ描 i++; if(i>2) return; } ondraw(); } draw();