Acces 2000中的进度条 [英] Progress Bar in Acces 2000

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

问题描述

好的,现在呢。我希望有人可以帮到这里,非常高兴。我想在表单上制作进度条/指示器。起初我只是要插入一个动画GIF,但我已经尝试过并记住你不能在那里放一个动画GIF,它变得静止(我确实在学校发现了10年,我应该我知道,但那只是我。我无法找到一个有效的进度棒的ActiveX控件(如果你将数据库移动到没有安装controll的另一台计算机,它就不会工作了数据库?这个特定的数据库可以在几台计算机之间切换。)所以我选择了我认为是第三种选择。我认为这将是一件非常简单的事情:在表单上有一个绘图框。然后当表单加载时,在那里有一些代码使这个框更大。所以...

长度= 0

循环

延迟100毫秒

增加长度

Do until Length = what

但这种安排似乎不起作用。这是我使用的代码:

Okay, now then. I''m hoping somebody can help here, pretty please. I want to make a progress bar/indicator on a form. At first I was just going to insert an animated gif, but I''ve tried and remembered that you can''t put an animated gif in there, it becomes static (I did find that out in year 10 at school, I should have known, but that''s just me). I can''t find an ActiveX control for a progress bat that works (and isn''t it true that if you move the database to another computer that doesn''t have the controll installed, that it won''t work in the database? This particular database may be switched between a few computers.) So I went for what I thought to be a third option. I thought this would be a pretty simple thing to do: Have a drawing box on the form. Then when the form loads, have some code there to make this box bigger. So...
Length = 0
Loop
Delay 100 miliseconds
Increase length
Do Until Length = whatever
But this arrangement doesn''t seem to work. This is the code I used:

展开 | 选择 | Wrap | 行号

推荐答案


好的,现在呢。我希望有人可以帮到这里,非常高兴。我想在表单上制作进度条/指示器。起初我只是要插入一个动画GIF,但我已经尝试过并记住你不能在那里放一个动画GIF,它变得静止(我确实在学校发现了10年,我应该我知道,但那只是我。我无法找到一个有效的进度棒的ActiveX控件(如果你将数据库移动到没有安装controll的另一台计算机,它就不会工作了数据库?这个特定的数据库可以在几台计算机之间切换。)所以我选择了我认为是第三种选择。我认为这将是一件非常简单的事情:在表单上有一个绘图框。然后当表单加载时,在那里有一些代码使这个框更大。所以...

长度= 0

循环

延迟100毫秒

增加长度

Do until Length = what

但这种安排似乎不起作用。这是我使用的代码:
Okay, now then. I''m hoping somebody can help here, pretty please. I want to make a progress bar/indicator on a form. At first I was just going to insert an animated gif, but I''ve tried and remembered that you can''t put an animated gif in there, it becomes static (I did find that out in year 10 at school, I should have known, but that''s just me). I can''t find an ActiveX control for a progress bat that works (and isn''t it true that if you move the database to another computer that doesn''t have the controll installed, that it won''t work in the database? This particular database may be switched between a few computers.) So I went for what I thought to be a third option. I thought this would be a pretty simple thing to do: Have a drawing box on the form. Then when the form loads, have some code there to make this box bigger. So...
Length = 0
Loop
Delay 100 miliseconds
Increase length
Do Until Length = whatever
But this arrangement doesn''t seem to work. This is the code I used:
展开 | 选择 | Wrap | 行号



好​​的,现在然后。我希望有人可以帮到这里,非常高兴。我想在表单上制作进度条/指示器。起初我只是要插入一个动画GIF,但我已经尝试过并记住你不能在那里放一个动画GIF,它变得静止(我确实在学校发现了10年,我应该我知道,但那只是我。我无法找到一个有效的进度棒的ActiveX控件(如果你将数据库移动到没有安装controll的另一台计算机,它就不会工作了数据库?这个特定的数据库可以在几台计算机之间切换。)所以我选择了我认为是第三种选择。我认为这将是一件非常简单的事情:在表单上有一个绘图框。然后当表单加载时,在那里有一些代码使这个框更大。所以...

长度= 0

循环

延迟100毫秒

增加长度

Do until Length = what

但这种安排似乎不起作用。这是我使用的代码:
Okay, now then. I''m hoping somebody can help here, pretty please. I want to make a progress bar/indicator on a form. At first I was just going to insert an animated gif, but I''ve tried and remembered that you can''t put an animated gif in there, it becomes static (I did find that out in year 10 at school, I should have known, but that''s just me). I can''t find an ActiveX control for a progress bat that works (and isn''t it true that if you move the database to another computer that doesn''t have the controll installed, that it won''t work in the database? This particular database may be switched between a few computers.) So I went for what I thought to be a third option. I thought this would be a pretty simple thing to do: Have a drawing box on the form. Then when the form loads, have some code there to make this box bigger. So...
Length = 0
Loop
Delay 100 miliseconds
Increase length
Do Until Length = whatever
But this arrangement doesn''t seem to work. This is the code I used:
展开 | 选择 | Wrap | 行号


感谢您,Rabbit和Adezii。对不起,我一定显得那么无知!我在这里努力。我研究过计算机,不管你信不信,我的AVCE ICT都获得了AA等级。但是我会成为一名护士,所以......好吧......我不是所有这一切的专家。但是我确实尝试了。

无论如何,我想要的进度条并不是真正的进步条,而是更多的动画。在数据库中有这一点,它可以完成一些操作并移交给Microsoft Word,而Word会自动执行一些操作几秒钟然后关闭。所有这一切都很好absolutley。我只想要一个小小的表单来弹出一个动画或进度条,只是为了向用户显示它正在做某事并耐心等待。我可以弹出一个漂亮的小表单,如启动画面,然后说请等待。我只是浅薄,真的想要一个动画。我希望它持续约3秒钟。大约在3到5秒之间。如果你能帮忙...我们怎么称呼它,psuedo进度条" Adezii,这太棒了。这一切似乎都是毫无意义的,但数据库将被少数人使用,包括那些不太懂电脑的人,如果它似乎什么都不做,那么人们就会有沮丧的倾向。如果他们看到一个动画,那么心理上会让他们平静下来:oP。嗯,这让他们看到正在发生的事情。是的,我很浅薄并试图让它漂亮。
Thanks both of you, Rabbit and Adezii. I''m sorry, I must seem so ignorant! I''m trying my best here. I have studied computing and believe it or not I got AA grade in my AVCE ICT. but I''m going to be a nurse, so... well... I''m not exactly an expert in all of this. But I do try.
Anyway, the progress bar I wanted wasn''t a real progress bar really, but more a bit of an animation. There''s this bit in the database where it does some stuff and hands over to Microsoft Word, and Word does some stuff automatically for a few seconds then closes. All that works absolutley fine. I just wanted a little form to pop up with an animation or progress bar just to show the user that it''s doing something and to be patient. I can make a nice little form pop up, like a splash screen, and say "Please Wait". I''m just being shallow and wanting an animation really. I want it to last about 3 seconds. Somewhere between 3 and 5 seconds. If you can help with a... how would we call it, "psuedo progress bar" Adezii, that would be fantastic. This all may seem absolutley pointless, but the database wil be used by a fair few people, including those who aren''t too computer literate, and if it seemingly does nothing, people have a tendancy to get frustrated. If they see an animation, something psychologically calms them down :oP. Well, it makes them see something is going on. And yes, I''m being shallow and trying to make it pretty.


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

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