ListView.item[0].IamgeIndex :=0;
sleep(100);
ListView.item[0].IamgeIndex :=1;
sleep(100);
ListView.item[0].IamgeIndex :=2;
sleep(100);
ListView.item[0].IamgeIndex :=3;
sleep(100);
好象不起作用
sleep(100);
ListView.item[0].IamgeIndex :=1;
sleep(100);
ListView.item[0].IamgeIndex :=2;
sleep(100);
ListView.item[0].IamgeIndex :=3;
sleep(100);
好象不起作用
解决方案 »
- 如何处理消息?
- 如何在IdHTTP控件中使用Cookie
- 请问如何用delphi封装一个class进dll,再用delphi调用?
- 一个关于数据模块和数据库的连接问题,望众高手不吝赐教
- 一个WHERE语句的问题,请各位帮帮忙!谢谢!!!
- 怎樣讓DBComboBox每一行顯示兩列數據
- 如果要用数组保存大于64K的信息该怎么办亚???
- 谁有建立Service Application的经验?
- delphi中利用mscomm控件做串口通讯的问题
- 关于年internetexpress控件的使用
- 咨询:关于delphi7中internet下无serversocket和clientsocket的问题
- 现在国内的软件有哪些行业啊?
ListView.Repaint;
sleep(1000);
ListView.items[0].ImageIndex :=1;
ListView.Repaint;
sleep(1000);
ListView.items[0].ImageIndex :=2;
ListView.Repaint;
sleep(1000);
ListView.items[0].ImageIndex :=3;
ListView.Repaint;
sleep(1000);不过哪有人这么写Window程序的?Sleep的时候程序就无法相应其它消息了?还是用Timer吧,或者用线程
var
cnt: Longword;
begin
cnt := GetTickCount;
while( cnt+ms<GetTickCount )
Application.ProcessMessages;
end;