How to implement a scrolling message?

User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: How to implement a scrolling message?

Post by nageswaragunupudi »

This class is now available in FWH 19.03
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: How to implement a scrolling message?

Post by Silvio.Falconi »

Rao,
Good if you add the possibility to scroll also Images
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: How to implement a scrolling message?

Post by Horizon »

Hi Mr. Rao,

How can I disable border?
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: How to implement a scrolling message?

Post by ukoenig »

The test

@ 120,500 SCROLLMSG oMsg TEXT cText SIZE 300, 150 PIXEL OF oDlg2 ;
FONT oFont COLOR CLR_HRED, CLR_YELLOW SPEED 2
oMsg:lBox := .F.

-----------------

Add in scrolmsg.prg

DATA lBox INIT .t.

METHOD New( nRow, nCol, nWidth, nHeight, cText, oWnd, oFont, ;
nSpeed, nClrText, nClrBack, lHoriz, lPixels, lDesign, cVarName, lBox ) CLASS TScrollMsg

DEFAULT
...
...
lBox := .t.

METHOD Paint() CLASS TScrollMsg

if ::lBox
::oWnd:Box( ::nTop - 1, ::nLeft - 1, ::nBottom + 1, ::nRight + 1 )
endif

Image

regards
Uwe :D
Last edited by ukoenig on Fri Apr 26, 2019 7:16 pm, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: How to implement a scrolling message?

Post by Horizon »

Thank you Uwe,

It works.
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: How to implement a scrolling message?

Post by Silvio.Falconi »

Working...just a little idea ( made with ximage) for scrolling images

Image
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: How to implement a scrolling message?

Post by karinha »

DSay también es compatible con el comando BLINKING. En este ejemplo de Master Nages, creo que todavía no tienes el comando BLINKING, nativo del clipper. Pero es super, lo es.

Saludos.
João Santos - São Paulo - Brasil
Post Reply