相关推荐
-
TDBGrid 数据导入到execle
procedure TFxxlook.savetoexcel(dbname:TDBGrid); var excelapp:Variant; page:Variant; i,j:Integer; savedialog:TSaveDialog; BM:TBookmark; strsavefile:string; begin if dbname.Da
-
在DBGrid中可选中行而又可进入编辑状态
如何在DBGrid中选中行,而又让它可以进入编辑状态? 也许你会问我这有什么用?呵呵,做数据库应用的兄弟们会深有感触,当用DBGrid显示的字段过多时,用户不得不拉动最下面的滚动条,去看最右边的东西,如果没有设置DBGrid->Options[dgRowSelect],那么,拉到最右边之后,很有可能看串行的;如果设置了DBGrid->Options[dgRowSelect],则在拉到最右边之
-
Tdbgrid应用大全
1.隔行不同颜色显示 with TDBGrid(Sender) do begin if (gdSelected in State) or (gdFocused in State) then Canvas.Brush.Color := clAqua else if DataSource.DataSet.RecNo mod 2 = 0 then Canvas.Bru
-
delphi实现TDBGrid选中行单元格按钮的显示
1.增加按钮,并隐藏; 2.监听TDBGrid的DrawColumnCell事件,在事件处理中 if gdSelected in state then begin if (Column.FieldName = ' ' ) then begin spsknbtnDelete.Left := Rect.Left + spskndbgrdForder.Lef
11 楼 caspershi 2011-07-01 11:41
10 楼 shuhen2011 2011-06-10 16:31
9 楼 inosin 2011-06-10 09:35
没了js,神马都是浮云~
8 楼 geminiyellow 2011-06-09 16:52
7 楼 kidd3166 2011-06-09 14:33
6 楼 damoqiongqiu 2011-06-09 11:41
5 楼 ray_linn 2011-06-09 08:27
4 楼 jemmywang 2011-06-09 08:17
3 楼 jemmywang 2011-06-09 08:15
2 楼 la_ka 2011-06-09 05:22
1 楼 informixca 2011-06-08 23:29