快速 [英] fast

查看:61
本文介绍了快速的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨大师


选择列表框中所有项目的最佳方法是什么?


目前,我做的是这对于每个itm中的ctl .....类型的方法,但是带有

超过2,000个项目,这可能有点慢.....


是否有任何命令可以同时完成整个事情???


TIA


- Nicolaas

Hi Gurus

What is the fatest way to select all the items in a list box?

At the moment, I do this for each itm in ctl..... type of method, but with
more than 2,000 items, this can be a little slow.....

are there any commands that do the whole thing at once???

TIA

- Nicolaas

推荐答案

" WindAndWaves" <交流**** @ ngaru.com>写道:
"WindAndWaves" <ac****@ngaru.com> wrote:
选择列表框中所有项目的最佳方法是什么?

目前,我为ctl中的每个项目执行此操作。 ....类型的方法,但有超过2000项,这可能有点慢.....

是否有任何命令一次完成整个事情? ??
What is the fatest way to select all the items in a list box?

At the moment, I do this for each itm in ctl..... type of method, but with
more than 2,000 items, this can be a little slow.....

are there any commands that do the whole thing at once???




或者尝试关闭echo。请注意,你最好确保你有错误

处理例程并将echo作为错误处理程序中的第一件事

或者你永远不会看到任何错误消息和你的应用都将被冻结。


Tony

-

Tony Toews,Microsoft Access MVP

请仅在新闻组中回复,以便其他人可以阅读整个消息主题。

Microsoft Access Links,Hints,Tips&会计系统
http://www.granite.ab.ca /accsmstr.htm


" WindAndWaves" <交流**** @ ngaru.com>写在

新闻:X%******************* @ news.xtra.co.nz:
"WindAndWaves" <ac****@ngaru.com> wrote in
news:X%*******************@news.xtra.co.nz:
选择列表框中所有项目的最佳方法是什么?

目前,我在ctl中为每个项目执行此操作.....方法类型,
是否有任何命令可以同时完成整个事情???
What is the fatest way to select all the items in a list box?

At the moment, I do this for each itm in ctl..... type of method,
but with more than 2,000 items, this can be a little slow.....

are there any commands that do the whole thing at once???




包含2000件物品的列表框是令人憎恶的,用户敌对的,性能噩梦。


-

David W. Fenton http://www.bway.net/~ dfenton

dfenton at bway dot net http:/ /www.bway.net/~dfassoc


亲爱的芬顿先生


为什么会这样? ?我想你是对的,也许我应该重新考虑

整件事....
Dear Mr Fenton

And why would that be??? I guess you are right, may be I should rethink the
whole thing....


这篇关于快速的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆