Occurs immediately after the position of a row changes.type TMovedEvent = procedure (Sender: TObject; FromIndex, ToIndex: Longint) of object;
property OnRowMoved: TMovedEvent;DescriptionWrite an OnRowMoved event handler to provide special processing whenever a row in the grid changes position. Rows can be moved programmatically or by user manipulation. The FromIndex parameter is the old index of the row, and the ToIndex parameter is the new index. OnRowMoved does not occur unless the Options property includes goRowMoving.
看看帮助吧~~~
property OnRowMoved: TMovedEvent;DescriptionWrite an OnRowMoved event handler to provide special processing whenever a row in the grid changes position. Rows can be moved programmatically or by user manipulation. The FromIndex parameter is the old index of the row, and the ToIndex parameter is the new index. OnRowMoved does not occur unless the Options property includes goRowMoving.
看看帮助吧~~~
解决方案 »
- Delphi调用Excel做报表啊
- DBgrideh多表头导出EXCEL问题,我重写了TDBGridEhExportAsXLS.WriteTitle函数,高手帮我完善一下!谢谢!
- 在Delphi3中,使用MediaPlayer控件问题! 急.... 各位高手谢谢啦
- 转储远程数据库表到本地表的问题
- delphi调用bcp导出导入数据的问题
- 在delphi8中函数StrPCopy是不是没有了?那替代的是什么函数?
- 关于rave请问我怎么才能用程序代码手工增加一个page?
- 测试(无内容)
- 有没有可以选文件夹的类似与opendialpg的控件?
- datatime提交的问题
- delphi类应用高手请进
- 谁用过SelectDirectory这个函数?
当输入焦点离开某个GRID 时,触发该事件 。
并且我要将STRINGGRID的属性goRowMoving设置为TRUE ,但程序运行时并不触发OnRowMove的事件,这是为何呢?