Ask a Question related to FileMaker, Design and Development.
-
mal anderson #1
script to change selected text format, please
can anyone help with script so that i can press a radio button and
change the selected text format (i.e. bold red)
thanks in advance
weather in Isle of Axholme, England, sunny 13 degrees c, sun shining
on lovely flame red autumn leaves.
best regards
mal
[email]malawayfromhome@hotmail.com[/email]
mal anderson Guest
-
Getting selected text
Leonard, In your first reply you say "From the IAC/COM APIs, that is the only way." So is there actually a way to get the selected text, or is... -
current selected text to highlighted text on mouse up event through java script
hi everybody, I want to convert the current selected text to highlighted text i.e. to yellow background on mouse up event on pdf form through... -
Variable format change in MX 7?
I am currently upgrading my website from CF 5 to CFMX 7. I heard from someone on this forum that the way you declare and write variables has... -
Change Date Format
I have a date being entered into a textbox in a dd/mm/yy format, however I need to be able to change this format to a yyyy/mm/dd in order to pass the... -
Change Format
Hi I have a datagrid control that I want to be able to change the source SQL statement for, I presume I can do this by setting the datasource... -
Mimi #2
Re: script to change selected text format, please
Hi Mal,
You don't need a script. Here's what you need:
1. A field with your target text (e.g. "Name")
2. A field validated by a value list that has your choices (e.g. Red and
Blue; we'll call it "select" for this example). Format this as Radio
Buttons.
3. Two calculation fields. In the first one, set red, your calc is
if(select="red",Name,""). In the second one, set blue, your calc is
if(select="blue",Name,"")
4. In layout mode, set the text colour of set red as red, and the text
colour of set blue as blue. Then, carefully lay set red on top of set blue
so that they are stacked.
Voila! When you click the radio button and set it to "red" the calculation
in set red will put your target text in the field formatted with red text,
and when you set the radio button to blue, the set blue calc will do the
same.
Hope this helps!
"mal anderson" <malawayfromhome@hotmail.com> wrote in message
news:9bcd6b26.0310270638.314f4ec2@posting.google.c om...> can anyone help with script so that i can press a radio button and
> change the selected text format (i.e. bold red)
> thanks in advance
> weather in Isle of Axholme, England, sunny 13 degrees c, sun shining
> on lovely flame red autumn leaves.
>
> best regards
> mal
>
> [email]malawayfromhome@hotmail.com[/email]
Mimi Guest



Reply With Quote

