Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #2390

Re: Blinking Icon

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Urs Eggmann" <Urs.Eggmann@shinternet.ch>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Blinking Icon
Date Tue, 8 Nov 2011 11:23:02 +0100
Lines 71
Message-ID <9hse8iFm3qU1@mid.individual.net> (permalink)
References <j98lb4$s3o$1@ss408.t-com.hr> <cgRtq.5411$NR2.1295@viwinnwfe01.internal.bigpond.com> <j98v3v$h6n$1@ss408.t-com.hr>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="Windows-1252"; reply-type=response
Content-Transfer-Encoding 7bit
X-Trace individual.net 1NXe7FsOO1CV0RtGEKjGRgfEjiTMCgX63THZqDwPFiLh9SPEQY
Cancel-Lock sha1:nXj94DtY7KG4olwdJvEEq/UytBg=
X-Priority 3
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.6109
X-EsetId 35EFE320EBB6393065AFBF
X-EsetScannerBuild 10255
Xref x330-a1.tempe.blueboxinc.net comp.lang.clipper.visual-objects:2390

Show key headers only | View raw


Hi Jozo,

I have modified a inherited bBrowser to show a blinking icon in a additional 
column, depending on a logical value of a certain field.
I have used parts of the code in Joachims standard sample for showing icons, 
combined with a timer.
You can download the sample (Adjust path for dbf-file) at:
www.voug-bodensee.net/zip-download/demoblinkingicon-2.zip

regards
Urs

"Jozo" <racunalo@os.t-com.hr> schrieb im Newsbeitrag 
news:j98v3v$h6n$1@ss408.t-com.hr...
> Although "AutoRefresh" is very useful that's not what I wanted.
>
> I wish that my icon (in cell of bBrowser) is flashing (for example 
> pulsing,
> something like an animation).
> I have for example the window where I use a timer with two icons, one 
> small
> and one large. When they are alternately displayed, it looks as the icon 
> is
> pulsing.
> Here is the code:
>
> CLASS MyWindow  INHERIT DataWindow
> ...
> PROTECT oIcoSmall AS Icon
> PROTECT oIcoBig  AS Icon
>
> METHOD PostInit(oWindow,iCtlID,oServer,uExtra) CLASS MyWindow
> oIcoSmall := IcoSmall{}
> oIcoBig := IcoBig{}
> SELF:IconSm:= oIcoSmall
> SetTimer(SELF:Handle(), IDT_ICONCHANGE, 1000, NULL_PTR)
> RETURN NIL
>
> METHOD Dispatch(oEvent) CLASS MyWindow
> IF (oEvent:uMsg == WM_TIMER) .and. (oEvent:wParam == IDT_ICONCHANGE)
>       IF (SELF:IconSm == oIcoBig)
>             SELF:IconSm := oIcoSmall
>        ELSE
>           SELF:IconSm := oIcoBig
>      ENDIF
> ENDIF
> RETURN SUPER:Dispatch(oEvent)
>
> So, this example is only for window where I just wanted to explain what I
> want.
>
> Jozo
>
> ----- Original Message ----- 
> From: "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au>
> Newsgroups: comp.lang.clipper.visual-objects
> Sent: Monday, November 07, 2011 2:45 PM
> Subject: Re: Blinking Icon
>
>
>> Jozo
>>
>> Look up AutoRefresh() into bBrowser help
>> May suit may not<g>
>>
>> CYA
>> Steve
>>
>>
> 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Blinking Icon "Jozo" <racunalo@os.t-com.hr> - 2011-11-07 14:09 +0100
  Re: Blinking Icon "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-11-08 00:45 +1100
    Re: Blinking Icon "Jozo" <racunalo@os.t-com.hr> - 2011-11-07 16:56 +0100
      Re: Blinking Icon "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2011-11-07 21:31 +0100
      Re: Blinking Icon "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2011-11-08 01:44 +0100
      Re: Blinking Icon "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2011-11-08 11:23 +0100
        Re: Blinking Icon "Jozo" <racunalo@os.t-com.hr> - 2011-11-08 18:38 +0100
          Re: Blinking Icon "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2011-11-08 19:55 +0100

csiph-web