General information
Category:
Coding, syntax & commands
Title:
Flashing minimized title bar
This procedure is supposed to flash the minimised title bar. at least that is my intention. I have it in the timer event.
firstly i dont know if this is the ideal approach,
secondly the line _screen.icon=.... just makes my computer slow down to such an extent that i cannot even stop the process from the taskbar.
what am i doing wrong, what is a better approach?
Lcnts=.t.
do whil Lcnts
Ltm=right(time(),2)
Ltmv=val(Ltm)
if int(Ltmv/2)=(Ltmv/2)
_screen.caption=''
_screen.icon='\picture\disk06.ico'
else
_screen.caption='Something Else Here'
_screen.icon=''
endif
Lws=_screen.windowstate
if Lws=2
Lcnts=.f.
endif
enddo
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only