gettingstarted
[Top] [All Lists]

Re: Back color on/off

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Back color on/off
From: Eirik Karlsen <eikarlse at online dot no>
Date: Mon, 30 May 2005 01:26:54 +0200
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <514ab7118da37c26469e68abed65b79a at athenet dot net>
What is immediately clear is that you have some timer mess here...
What is timer4 doing here??

Anyhow the task can be done using only ONE timer, use it to TOGGLE a flag.
The LR also says that you should not use more than one timer in the app.


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>

<Prev in Thread] Current Thread [Next in Thread>