请教,
在ListView 或表格中如何 在某一格中加入Button
谢谢
在ListView 或表格中如何 在某一格中加入Button
谢谢
解决方案 »
- 请问如何是存储过程自动执行?谢了
- 一个记录学生信息的表,共有近60000多条记录,现在的问题是:
- 500分求平衡二叉树的相关源码.. 谢谢~
- 这是我所有的分,请教一个DBGRID问题
- DELPHI+ORACLE的数据库问题,紧急求救
- 我在视图的语法中加where语句怎么不行???????
- dxdbgrid下拉菜单导入
- 懒刺猬拜师~~~~~~~~~现在最多可送111分~~~~~~~~@_@
- 请教高手,很急的问题
- 给高手送分!!!
- 100分求助!如何将Dbgrid所选择的多行记录中的某一列的值全部修改为'abc'?
- 单机系统里使用clientdataset,form1里的clientdataset,如何引用form2里的DataSetProvider
procedure TForm1.ListView1MouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
var
aRect:TRect;
item:TListItem;
begin
item:= ListView1.GetItemAt(x,y);
if item<>nil then
begin
aRect := item.DisplayRect(drSelectBounds);
Button1.Parent := ListView1;
Button1.Left := aRect.Left ;
Button1.Top := aRect.Top ;
end;
end;