<table width= "174" height= "" "border=" 1 "align=" center "cellpadding=" 1 "cellspacing=" 1 "bordercolor=" #000000 " Bgcolor= "#FFFFFF" summary= "Text" >
Properties of Table
Width
Height
Border
Align
cellpadding Fill
cellspacing Spacing
BorderColor
BgColor
Summary Summary
of events
The method
Number of table rows/table columns
procedureInserthtml (Consthtml:widestring);
begin
(Form1.WebBrowser1.Document as IHTMLDocument2). Selection.createrange as IHTMLTxtRange). pastehtml (' <p><b > ' +html+ ' </B></P> ');
End;
//------------------------------------------------------------------------------
Mesh effects are now available with pastehtml
procedureInserttable (ConstCol:integer = 2;ConstRow:integer = 2);
var
Colcnt, Rowcnt:integer;
STable:string;
begin
Stable is the HTML code for the table
STable: = ' <table border=1 width= ' 100% ' style= ' border-collapse:collapse;border-color:black ' > ';
STable: = ' <table border=1 width= ' 100% ' > ';//No style
forROWCNT: = 1 toRow Do
begin
STable: = sTable + ' <TR> ';
forCOLCNT: = 1 toCol Do
STable: = sTable + ' <TD> </TD> ';
STable: = sTable + ' </TR> ';
End;
STable: = sTable + ' </TABLE> ';
Inserting HTML Tables
Inserthtml (sTable);
End;
From for notes (Wiz)