回你刚才那个DBGRID里加入控件的问题,参考一下这个能使你更灵活的使用dbgrid.procedure TIWForm1.IWDBGrid1RenderCell(ACell: TIWGridCell; const ARow, AColumn: Integer); begin if ARow>0 thenbegin case AColumn of 0 : begin ACell.Text:=IWDBGrid1.DataSource.DataSet.fieldbyname('size').AsString; ACell.Control:=TIWButton.Create(Self); with TIWButton(ACell.Control) do begin Caption := 'Delete'; Confirmation := 'Delete this row?'; end; end; 1: ACell.Text:='cba'; else ; end; end; end;
AColumn: Integer);
begin
if ARow>0 thenbegin
case AColumn of
0 : begin
ACell.Text:=IWDBGrid1.DataSource.DataSet.fieldbyname('size').AsString;
ACell.Control:=TIWButton.Create(Self);
with TIWButton(ACell.Control) do begin
Caption := 'Delete';
Confirmation := 'Delete this row?';
end;
end;
1: ACell.Text:='cba';
else ;
end; end;
end;
>>这个不知道,有没有代码,我jscript很菜..
再加30可以了吧
把cSS和jscript的代码写出来....
就45了。。呵,你看我问了多少个intraweb的问题就知道
我的钱是怎么撒的了...呵..
我还有几人钱没收..收了一并给你也可以啊
BODY{background-image:url(你的要图片.gif);background-position:center;background-attachment:fixed;
}2>在ACell.Text里面写你想要的JS代码.不懂的话可以参考我的那个网站,不是给你下载了吗?