PDA

View Full Version : formattedtextfield informations...



bzjeurd
January 17th, 2014, 12:53
Hello,

Is it possible to have more info about the parameters/functions available for the formattedtextfield control ?

What I found for example in the CoreRPG is a beginning:

<template name="simpleft">
<formattedtextfield>
<font normal="reference-r" bold="reference-b" italic="reference-i" bolditalic="reference-bi" title="reference-h" />
<icon link="button_link" emptylink="button_link_empty" chat="button_speak" />
<selectioncolor>#FFD296</selectioncolor>
</formattedtextfield>
</template>

But I need to know if it possible to restrict the list of formats accessible through the radial menu.
For a given control, I would like to remove the link format or bullet format for example.

Thank in advance for any help.

Bz

Moon Wizard
January 17th, 2014, 19:24
No, there is no option to limit the functionality of the formattedtextcontrol object.

Here is the link to the formattedtext control reference:
https://www.fantasygrounds.com/refdoc/formattedtextcontrol.xcp

JPG

Trenloe
January 17th, 2014, 20:17
Here is the link to the formattedtext control reference:
https://www.fantasygrounds.com/refdoc/formattedtextcontrol.xcp
Can this be added to the "Elements" sidebar please? It's not there...

Moon Wizard
January 17th, 2014, 20:37
Done.
JPG

Trenloe
January 17th, 2014, 20:38
Done.
JPG
Awesome. Thanks.

bzjeurd
January 18th, 2014, 10:25
Thank you for your info JPG.
Another question, can we use and adapt internal tags ? I would like to change the indent number for the <li> attribut...
Thanx in advance.
Bz

Bidmaron
January 19th, 2014, 15:16
Also can we please get formattedtext to support the calls of a standard text field to query for selected text within the control? I've had a feature request in on this for several years and like most programming stuff no one votes for it.

Blacky
January 20th, 2014, 01:42
To gather more votes, you need to translate the vote in plain English, and explain in it why it's important, some examples of gaming advantages it would procure.

Trenloe
January 20th, 2014, 15:15
Thank you for your info JPG.
Another question, can we use and adapt internal tags ? I would like to change the indent number for the <li> attribut...
Thanx in advance.
Bz
See this thread for info on which tags are available within the formattedtextcontrol: https://www.fantasygrounds.com/forums/showthread.php?14323-What-HTML-Attributes-are-available-in-FG2