闪烁图标的问题..... [英] Problem in blinking an icon.....

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

问题描述

你好,


我正在做一个vb项目,其中包含flexgrid中的一些数据,flexgrid中的数据可以在每次执行时改变。现在,网格中的每个数据都对应于表单中的一个特定图标,因此当用户点击网格时,我希望该特定图标开始闪烁。我无法实现它.Plz可以有人帮助我。


谢谢&问候,

Hello,

I''m doing a vb project which contains some data in flexgrid the data in the flexgrid can change upon each and every execution . Now each data in the grid correspond to one particular icon in the form so when the user clicks on the grid i want that particular icon to start blinking .I''m not able to achieve it .Plz can someone help me out .

Thanks & regards,

推荐答案

两个问题...


您使用的是什么版本的VB?


到目前为止你尝试过什么?我希望定时器控制是可行的方法。
Two questions...

What version of VB are you using?

What have you tried so far? I expect a timer control would be the way to go.



两个问题...


你使用的是什么版本的VB?


你到目前为止尝试了什么?我希望定时器控制是可行的方法。
Two questions...

What version of VB are you using?

What have you tried so far? I expect a timer control would be the way to go.



感谢您查看我的问题并回复。


我正在使用VB 6.0我使用过计时器将其间隔设置为500,但问题是flexgrid中的单个数字可以对应图中的多个图标,例如:假设flexgrid的第一个单元格不包含6,它可能对应于4个图标,现在当用户点击包含6的单元格我希望所有4个图标同时开始闪烁。我用图片框粘贴图标。


问候,


Thanks for having look at my question and replying.

I''m using VB 6.0 i have used timer by setting its interval as 500 but the problem is a single number in the flexgrid can correspond to more than one icon in the diagram for ex: assume that the first cell of the flexgrid contains no 6 and it may correspond to 4 icons , now when the user clicks the cell which contain 6 i want all the 4 icons to start blinking simultaneously.I have used picture box to paste the icon.

regards,


我不太了解你的情况,提出很多建议。但是,如果我有一个表单,我想做一些像闪烁一些控件的东西,我喜欢做的是在 Tag 属性中用一些字符串标记它们。计时器只需循环检查表单上的控件,检查其标记,当它找到该字符串时,执行闪烁操作。那个控制的东西。这可能意味着打开/关闭其可见性,或改变其颜色等等。
I don''t know enough about your situation to make many suggestions. But if I have a form where I want to do something like blink a number of controls, what I like to do is flag them with some string in their Tag property. The timer just has to loop through the controls on the form checking their Tag and when it finds that string, do the "blinking" thing to that control. That may mean turning its visibility on/off, or changing its colours, or whatever.


这篇关于闪烁图标的问题.....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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