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:36:40 +0200
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <514ab7118da37c26469e68abed65b79a at athenet dot net>
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>

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