trichview.com

trichview.support




Re: Hotspot


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/20/2003 20:34:42


Where do you want to store sound files - completely inside the document, or

in external files or database?


"Hotspot" is a one of hypertext items (image from TImageList). Other

hypertext item types - "hot pictures" (images such as TBitmap or TIcon),

text of style having Jump property = True.


When the user clicks a hypertext item, OnJump event occurs. In this event

you can play sound.

How to do it? It depends on your answer to the first question.


Specifically about AddHotstpot.


- place TImageList component on form;

- add one or more images in it;

- create RichView document using Add*** methods, including AddHotspot

- as parameters of this hotspot, specify this TImageList and index of image

in it

- finish document building by calling Format

- process TRichView.OnJump event (play sound)


> Hi all,

>

> I have just bought RichView and already do I have some questions.

>

> I creating a program that creates slides using the RichViewEdit containing

> any of the following:

> Text, images, and sounds.

> Each slide will have multiple hotspots which the user can select. I will

be

> saving the slides into a database as streams. Another app will use these

> slides to display them one at a time to the user where he has to select

the

> hidden hotspots and gets a score for each hot spot he selects.

>

> How does the AddHotspot works. I want to make use of a Hotspot method. Can

I

> also add more that hotspot to a picture?

>

> Regards,

>

> Peet

>

>





Powered by ABC Amber Outlook Express Converter