* Displaying Richtext

For users to report plugin bugs and request plugin enhancements; and for authors to test new/new versions of plugins, and to discuss plugin development (in the Programming Technicalities sub-forum). If you want advice on choosing or using a plugin, please ask in General Usage or an appropriate sub-forum.
Post Reply
avatar
shoshk
Superstar
Posts: 280
Joined: 13 May 2015 16:28
Family Historian: V7
Location: Mitzpe Jericho, Israel

Displaying Richtext

Post by shoshk »

Is there any way to display richtext in a plugin?
Shosh Kalson
User avatar
Jane
Site Admin
Posts: 8514
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Re: Displaying Richtext

Post by Jane »

You could use

Code: Select all

fhPromptUserForRichText 
and just not do anything if the user edits it.
Another option if you want to output complex data is the use the Report functions to create a report with the output.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
avatar
shoshk
Superstar
Posts: 280
Joined: 13 May 2015 16:28
Family Historian: V7
Location: Mitzpe Jericho, Israel

Re: Displaying Richtext

Post by shoshk »

Thank you Jane. This is exactly what I need.

I looked for something like this using the 'Search' tab in FH Plugin Help. Search term = 'richtext'

fhPromptUserForRichText does not appear in the results list.

Interesting, no?
Shosh Kalson
User avatar
Jane
Site Admin
Posts: 8514
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Re: Displaying Richtext

Post by Jane »

The Windows Help search is word based. Searching for "Rich Text" would have found it.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
avatar
shoshk
Superstar
Posts: 280
Joined: 13 May 2015 16:28
Family Historian: V7
Location: Mitzpe Jericho, Israel

Re: Displaying Richtext

Post by shoshk »

I will keep this in mind for future searches. Thank you
Shosh Kalson
Post Reply