DBGridEh排序
时间: 2023-12-02 16:50:09 浏览: 88
要在DBGridEh中实现排序,可以使用以下方法:
1. 在DBGridEh的标题栏上单击进行排序。这可以通过在DBGridEh的OnTitleBtnClick事件中调用SortDBGridEh函数来实现。该函数的参数包括Sender(指向DBGridEh的指针)、ACol(指定要排序的列的索引)和Column(指定要排序的列的引用)。通过在事件处理程序中调用该函数,可以实现点击标题栏进行排序的功能。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [DBGridEh的标题栏排序](https://download.csdn.net/download/hyz6045/4888073)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [DBGrideh 实现自动排序](https://blog.csdn.net/weixin_34161083/article/details/93155340)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文