Put this in the timer's (Mode2, Period500) action Event:
'**************
If ToggleFlag=True Then
ToggleFlag=False
Window1.hasBackColor=True
Else
ToggleFlag=True
Window1.hasBackColor=False
End If
'*************
ToggleFlag is a Boolean propery of the window
Tristan wrote:
> OK, I want the backcolor of Window1 (metal window) flash on/off. This
> is what I do:
>
> pushbutton1 has default=true
> Code:
> timer1.mode=1
>
> Timer1 has mode=0, period=500
> Code:
> window1.hasBackColor=true
> me.mode=0
> timer2.mode=1
>
> Timer2 has mode=0, period=500
> Code:
> window1.hasBackColor=false
> me.mode=0
> timer4.mode=1
>
> It should work, right? It doesn't. The hasbackcolor of window1 stays on.
> I need help!
>
> _
--
*******************************************
VISIT MY HOME PAGE:
<http://home.online.no/~eikarlse/index.htm>
LAST UPDATED: 23/08/2003
*******************************************
Regards
Eirik Karlsen
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|