泥
泥瓦匠
Unregistered / Unconfirmed
GUEST, unregistred user!
有两个问题,急!
1.在DBGRID中画金额线,听说RID的ONDRAW中做就行,我不会,帮我做个例子。OK?
2.我要把一个COMBOBOX绑定到GRID中,
procedure TFrmMain.DBGridEh1CellClick(Column: TColumnEh);
var
re:TRect;
begin
re:=DBGridEh1.CellRect(DBGridEh1.col,DBGridEh1.row);
WWPyDbComBo1.Top:=DBGridEh1.top+re.Top;
WWPyDbComBo1.left:=DBGridEh1.left+Re.Left;
WWPyDbComBo1.Width:=re.Left-re.Right;
WWPyDbComBo1.Height:=re.Top-re.Bottom;
WWPyDbComBo1.show;
不行,怎么样做才可以.
谢谢帮助!
1.在DBGRID中画金额线,听说RID的ONDRAW中做就行,我不会,帮我做个例子。OK?
2.我要把一个COMBOBOX绑定到GRID中,
procedure TFrmMain.DBGridEh1CellClick(Column: TColumnEh);
var
re:TRect;
begin
re:=DBGridEh1.CellRect(DBGridEh1.col,DBGridEh1.row);
WWPyDbComBo1.Top:=DBGridEh1.top+re.Top;
WWPyDbComBo1.left:=DBGridEh1.left+Re.Left;
WWPyDbComBo1.Width:=re.Left-re.Right;
WWPyDbComBo1.Height:=re.Top-re.Bottom;
WWPyDbComBo1.show;
不行,怎么样做才可以.
谢谢帮助!