从列表框中读取和写入(VB6) [英] Read and Write from a listbox (VB6)

查看:170
本文介绍了从列表框中读取和写入(VB6)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个文本框,人们可以从那里将文本字符串添加到列表框。

从那里,我想,一旦一个人点击开始,程序就会从列表中键入第一个字符串。间隔后的第二个,依此类推。在它拥有所有这些之后,我希望它再次从列表的顶部开始并重复动作。

我已经有了一个开始按钮,但当我点击它时,它不会似乎从列表框中读取并在屏幕上输入它们。


任何人都可以帮我解决这个问题吗?

谢谢,

Evolution445

I got a textbox, from where people can add textstrings to a listbox.
From there, I want, once a person clicks "Start", the program types the first string from the list. After the interval the second, and so on. After it''s had all of them, I want it to start at the top of the list again and repeat the action.
I already got a start button, but when I click it, it doesnt seem to read from the listbox and type them on the screen.

Could anyone help me getting this straight ?
Thanks,
Evolution445

推荐答案


我有一个文本框,人们可以从中将文本字符串添加到列表框中。

从那里,我想,一旦一个人点击开始,程序就会从列表中键入第一个字符串。间隔后的第二个,依此类推。在它拥有所有这些之后,我希望它再次从列表的顶部开始并重复动作。

我已经有了一个开始按钮,但当我点击它时,它不会似乎从列表框中读取并在屏幕上输入它们。


任何人都可以帮我解决这个问题吗?

谢谢,

Evolution445
I got a textbox, from where people can add textstrings to a listbox.
From there, I want, once a person clicks "Start", the program types the first string from the list. After the interval the second, and so on. After it''s had all of them, I want it to start at the top of the list again and repeat the action.
I already got a start button, but when I click it, it doesnt seem to read from the listbox and type them on the screen.

Could anyone help me getting this straight ?
Thanks,
Evolution445



你忘了发布'不工作的代码

You forgot to post the code that''s not working


哦,抱歉,这里是:

Oh, sorry, here it is:

展开 | 选择 | Wrap | 行号


这个shou ld work
This should work
展开 | 选择 | Wrap | 行号


这篇关于从列表框中读取和写入(VB6)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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