Link to home
Create AccountLog in
Avatar of PeterSaunders
PeterSaundersFlag for Australia

asked on

Text Pop-up in Lotusscript

How do I create a text pop-up (much the same as selecting Create - Hotspot - Text Pop-up in a new document) but from within lotusscript?

I'm creating a report, writing details to a new mail memo using a richtext item and the AppendText method, and I'd like to display extended information when the user hovers their mouse over particular text.
Avatar of mbonaci
mbonaci
Flag of Croatia image

You cannot do it using only LotusScript, it's possible only in design elements.

It would probably be possible to write a dll using C API for L/N and then use the functions in LS.
Avatar of SysExpert
I would consider building a form for your email, with this capability built in, rather than using the standard Memo form.

I hope this helps !
the C API examples provide example for building hotspot using API . It seems that it quite possible to call all these API functions from LotusScript to create a hotspot (although it would require defining many of these API functions - long and tedious process).
If you decide to go this route, there is an excellent resource for this http://www.ls2capi.com/ 
Definitely worth the money, helped me many times
ASKER CERTIFIED SOLUTION
Avatar of mbonaci
mbonaci
Flag of Croatia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of PeterSaunders

ASKER

Thanks All.
Guru, using DXL looks promising. The only problem is I have to create quite a few hotspots dynamically. I have a collection of selected documents from a view which I'm looping through displaying the Title field from each document in a table. Upon mouseover of Title I hope to display the contents of a Description field as a hotspot text popup.
I may be a little out of my depth modifying the code, but I'll give it a go & report back...
Sorry, I meant to say "mbonaci"
Still working on bringing it together, but your comment pointed me in the right direction so I'll award you with the points. Thank you.