...
首页> 外文期刊>Inside Microsoft Visual Basic >Load ListBox controls faster with BeginUpdate and EndUpdate (VB .NET)
【24h】

Load ListBox controls faster with BeginUpdate and EndUpdate (VB .NET)

机译:使用BeginUpdate和EndUpdate(VB .NET)更快地加载ListBox控件

获取原文
获取原文并翻译 | 示例
           

摘要

Although ListBox controls aren't well suited for large amounts of data, there may be times when you have to use them to hold more than a handful of records. If this is the case, you should call BeginUpdate() before you start loading the ListBox and EndUpdate() after adding the last record. When you do this, the control won't refresh each time you add a new record.
机译:尽管ListBox控件不适用于大量数据,但有时您不得不使用它们来保存少量记录。如果是这种情况,则应在添加最后一条记录后开始加载ListBox和EndUpdate()之前,先调用BeginUpdate()。执行此操作时,控件不会在您每次添加新记录时刷新。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号