## hpwRealTimeMarquee for neobook

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

### hpwRealTimeMarquee for neobook

Based on the new great TRealTimeMarquee I did another neobook-plugin (after TSimpleGraph)

It was just released here:

http://www.neosoftware.com/forum/viewto ... 3#11193083

Thanks to Kambiz for this Component!
Hans-Peter
HPW
Moderator

Posts: 236
Joined: February 25th, 2006, 10:19 am
Location: Germany

### Re: hpwRealTimeMarquee for neobook

So fast and so great!

Kambiz

Kambiz

Posts: 2424
Joined: March 7th, 2003, 7:10 pm

### Re: hpwRealTimeMarquee for neobook

Hello Kambiz,

Might it be possible to add an IMG tag to the HTML to show for example a small Icon-like image in front of a text?
Hans-Peter
HPW
Moderator

Posts: 236
Joined: February 25th, 2006, 10:19 am
Location: Germany

### Re: hpwRealTimeMarquee for neobook

Yeah, the only thing is missing is IMG tag. It's quite easy to add the image tag and I already implemented it in my mind.

I am working in a project now that would be finished maximum in two weeks. After that, the first thing I will do is releasing the next version of TRealTimeMarquee.
Kambiz

Kambiz

Posts: 2424
Joined: March 7th, 2003, 7:10 pm

### Re: hpwRealTimeMarquee for neobook

After that, the first thing I will do is releasing the next version of TRealTimeMarquee.

Sounds promising!
So keep on.
Hans-Peter
HPW
Moderator

Posts: 236
Joined: February 25th, 2006, 10:19 am
Location: Germany

### Re: hpwRealTimeMarquee for neobook

When you get into it, maybe you can also think about:

IMG can also be a link

Just some more ideas.
Hans-Peter
HPW
Moderator

Posts: 236
Joined: February 25th, 2006, 10:19 am
Location: Germany

### Re: hpwRealTimeMarquee for neobook

The idea is using an event for getting the image, something like:

Code: Select all
TMarqueeImageEvent = procedure(Sender: TObject; const URI: String; Picture: TPicture) of object;

This is more flexible and gives freedom to the application to interpret URI as it wishes.
Kambiz

Kambiz

Posts: 2424
Joined: March 7th, 2003, 7:10 pm

### Re: hpwRealTimeMarquee for neobook

I guess it needs lot of work to upgrade hpwRealTimeMarquee to the new release. Sorry!
Kambiz

Kambiz

Posts: 2424
Joined: March 7th, 2003, 7:10 pm

### Re: hpwRealTimeMarquee for neobook

I guess it needs lot of work to upgrade hpwRealTimeMarquee to the new release. Sorry!

Why Sorry?
The new demo looks very interesting. Nice weather marquee.
Great work again.
I will have a look at it when time permits to upgrade the plugin to 2.0!
Hans-Peter
HPW
Moderator

Posts: 236
Joined: February 25th, 2006, 10:19 am
Location: Germany

### Re: hpwRealTimeMarquee for neobook

Based on the new great TRealTimeMarquee 2.0 I did update the neobook-plugin:

http://www.neosoftware.com/forum/viewtopic.php?t=16887

This release does support the base set of features of TRealTimeMarquee.
There stays room for improvement with transparency and image-loading from streams etc.

>IMG can also be a link

Would this be possible with 2.0 ?
Hans-Peter
HPW
Moderator

Posts: 236
Joined: February 25th, 2006, 10:19 am
Location: Germany

### Re: hpwRealTimeMarquee for neobook

The SRC attribute of IMG tag can be anything. It's your application that should translate the src attribute in to an image using OnImage event.

Only if you do not specify an event handler for OnImage event, the component will suppose the src is a file and tries to load the image from file.

Regarding transparency, I don't know how to have transparency without loosing performance. Unfortunately layer API of Windows works only on windows without parent.
Kambiz

Kambiz

Posts: 2424
Joined: March 7th, 2003, 7:10 pm

### Re: hpwRealTimeMarquee for neobook

I understand your implementation of the OnImage-event.
So I know how it should work with my own event.

>IMG can also be a link

My question here was, if I can use a IMG as hypertext-link like a web-adress.
And then it would fire the OnLink-event.
Hans-Peter
HPW
Moderator

Posts: 236
Joined: February 25th, 2006, 10:19 am
Location: Germany

### Re: hpwRealTimeMarquee for neobook

It doesn't matter what is the value of src attribute, the OnImage event is always fired.

However, the OnLink event fires only when user clicks on a hyperlink (A tag). The content of hyperlink tag can be text or image.
Kambiz

Kambiz

Posts: 2424
Joined: March 7th, 2003, 7:10 pm

### Re: hpwRealTimeMarquee for neobook

Based on the new TRealTimeMarquee 2.2 I did update the neobook-plugin:

http://www.neosoftware.com/forum/viewto ... 8#11194598
Hans-Peter
HPW
Moderator

Posts: 236
Joined: February 25th, 2006, 10:19 am
Location: Germany

### Re: hpwRealTimeMarquee for neobook

Based on the latest TRealTimeMarquee 2.4 I did update the neobook-plugin:

http://www.neosoftware.com/forum/viewto ... 7&start=15

I was asked if it possible to add a OnEndLoop-event when the NumLoops value is reached and the last pass is ended?
The user want to show an text a limited number and then wants to update the text and restart.
Hans-Peter
HPW
Moderator

Posts: 236
Joined: February 25th, 2006, 10:19 am
Location: Germany