Color -  highlight words

I'm using the highlight words column attribute for a report with a search parameter. I was wondering if there is a way to change the color of the text that is highlighted.
Thanks in advance,
Sam

Sorry about that! This issue solved using JavaScript in the morning.
I thouhgt I am in the other post:
error message color
When you click, you will see red error message. I would like to know how to get the red color error message in my application.
Thanks for your patience,
Sam
Edited by: early bird on Jun 17, 2009 12:36 PM

Similar Messages

  • Change color for highlight words

    I'm using the highlight words column attribute for a report with a search parameter. I was wondering if there is a way to change the color of the text that is highlighted? The html that is generated wraps the highlighted word with <span style="font-weight: bold; color: red;">search string</span>

    sql functions like INSTR, SUBSTR, and DECODE are good for this...
    select decode(instr(upper(emp.ename),upper(:P1_SEARCH)),
    0, emp.ename,
    substr(emp.ename,1,
    instr(upper(emp.ename),upper(:P1_SEARCH)) - 1)
    || '<span style="color:blue;">' ||
    substr(emp.ename, instr(upper(emp.ename),upper(:P1_SEARCH)),
    length (:P1_SEARCH))
    || '</span>' ||
    substr(emp.ename, instr(upper(emp.ename),upper(:P1_SEARCH)) + length(:P1_SEARCH) )) my_column_alias
    from emp;
    ...hope this helps,
    raj

  • Change highlight word color in a report

    Hi All,
    I have question regarding highlighting search words in a report. I used APEX's "Highlight Words" column attribute to achieve this. My search string is a list of words 'table,chair,sofa' It works perfectly fine showing the matching words in Red color. But I want to change the color to yellow. If it's a single word then I think I can do it using the replace SQL function and change the color using the <span Style...> But in my case I have a list. Any advise appreciated...
    Thanks in advance.

    Another option would be to include relevant SQL to do your highlighting. E.g.
    select replace(replace(object_name,'table','&lt;span style="background-color:yellow"&gt;table&lt;/span&gt;'),'chair','&lt;span style="background-color: yellow"&gt;chair&lt;/span&gt;') object_name from bits_of_furniture
    It's certainly not pretty but the above would highlight all tables and chairs in yellow. What you could do is put together a PL/SQL function which accepts as parameters: the string to make replacements in, a comma-separated list of terms to replace and the colour to highlight with. So your SQL might become:
    select highlight(object_name,'chair,table,sofa','yellow') from bits_of_furniture
    All you have to do is build the highlight() function... :)
    Andy

  • In the compose field can't I color highlight chosen individual words??

    Using Thunderbird I'm dismayed that there appears to be no way to highlight individual words or phrases with a background color, as can be done in many email web interfaces on line, certainly those of AOL and Hotmail. All I find possible using Thunderbird is font color, not highlight.
    Is there no way to color highlight chosen words within the compose field using Thunderbird??

    Thunderbird comes as a basic email client. There are lots of add ons for all the fancy stuff people like to do.
    Install this add on. https://addons.mozilla.org/en-US/thunderbird/addon/highlighter-222207/?src=search

  • How to highlight word(s) with different colors?

    I have Mail, Version 3.2 (919/919.2)
    Re: color
    I see that it is possible to change the color of text and to change the color of the entire field background, but I want to be able to HIGHLIGHT certain words with light colors like yellow, not just change the color of the text.
    Is it possible to HIGHLIGHT word(s) in Mail?
    If so, how? I looked at all the options and read the Help etc.
    Lorna in Southern California
    web.mac.com/lorna6

    OK, outgoing messages. For some reason I thought you wanted to flag stuff in received mail. Mail Tags is certainly not what you want.
    Can you recall what keys or key combinations you used in Tiger? I presume it did more than simply change text to bold?
    If you have selected Rich Text in Mail's Preferences/Composing you can colour the text. Use Format/Show Colors to bring up the floating colour window (if you need it a alot have it up all the time) and when you select some text and click on one of the colours it will be changed to that colour - but not highlighted.
    AK

  • How do you highlight words

    How Do you highlight words ??

    Select the text.
    Click the Character Background Fill color rectangle..
    Click on a color...
    And your text is highlighted...
    Jerry

  • Highlight words in link column..how to retain case?

    I learned a lot from this thread... Highlight Search results within a linked column ...and I have the solution implemented and working perfectly...almost.
    My query is essentially as follows...
    select foo, bar, replace(upper(PROJECT_NAME),upper(:P2_SEARCH),'<spann style="font-weight: bold; color: red;">' || :P2_SEARCH || '</span>') as PROJECT_NAME_LINK
    from Projects
    where upper(PROJECT_NAME) like '%' || upper(:P2_SEARCH) || '%';
    Without the search and highlight words enabled...the result is essentially...
    foo1 bar1 ABC123
    foo2 bar2 EFG456
    With the search and highlight words enabled...the result for searching on "a" is...
    foo1 bar1 aBC123
    My small remaining issue is that the replaced and highlighted search term is always inserted in the case (upper/lower) that the search term was entered. In contrast, the default method utilized by ApEx seems to be able to retain the case when highlighting the text.
    Any idea how I can retain the case within my highlight words link column?
    Any idea how the ApEx function does this? (maybe the concept can be applied)
    Matt

    I talked to Raj who posted the original solution to my issue in the above referenced thread from 2001.(apparently this forum rendered out some of his posting which made it hard to understand...)
    select decode(instr(upper(emp.ename),upper(:P1_SEARCH)),
    0, emp.ename,
    substr(emp.ename,1,
    instr(upper(emp.ename),upper(:P1_SEARCH)) - 1)
    || '<spann style="color:blue;">' ||
    substr(emp.ename, instr(upper(emp.ename),upper(:P1_SEARCH)),
    length (:P1_SEARCH))
    || '</spann>' ||
    substr(emp.ename, instr(upper(emp.ename),upper(:P1_SEARCH)) + length(:P1_SEARCH) )) my_column_alias
    from emp;
    (be sure to correct the spelling of "spann")
    This solution works great...thanks Raj!
    Matt

  • Highlight Words in TextFields

    Hi there,
    I'm using APEX 2.1.
    Is there a possibility to highlight words in a TextFiled (inside a Tabular Form)?
    Thanks
    Johann

    Hmm, I didn't realise that the tabular forms overrode those css settings...sigh
    What about creating the tabular form as an updateable sql report.
    eg.
    select     "DEMO_CUSTOMERS"."CUSTOMER_ID" as "CUSTOMER_ID",
    APEX_ITEM.TEXT(
    2,
    CUST_FIRST_NAME,
    null,
    null,
    case when instr(upper(CUST_FIRST_NAME), upper(:P2_NAME_SEARCH),1)>0 then 'style="background-color:yellow;"'
    else null end
    ) FIRST_NAME,
         APEX_ITEM.TEXT(
    2,
    CUST_LAST_NAME,
    null,
    null,
    case when instr(upper(CUST_LAST_NAME), upper(:P2_NAME_SEARCH),1)>0 then 'style="background-color:yellow;"'
    else null end
    ) last_NAME,
         "DEMO_CUSTOMERS"."CUST_CITY" as "CUST_CITY"
    from     "DEMO_CUSTOMERS" "DEMO_CUSTOMERS"
    where (instr(upper(CUST_FIRST_NAME||CUST_LAST_NAME), upper(:P2_NAME_SEARCH),1)>0 or :P2_NAME_SEARCH is null
    I have an example at
    http://apex.oracle.com/pls/otn/f?p=34581:2
    username test: password: testing.
    I didn't bother writing a procedure to store updates and all that and I only made the name fields enterable. There must be an easier way though.

  • What is the shortcut key to highlight words in adobe reader in macbook pro

    what is the shortcut key to highlight words in adobe reader in macbook pro?
    Shift + U is not working
    how can i change shortcut key?

    I don't believe there is a keyboard shortcut available for that feature. But I believe if you click-select the topmost chapter, and Shift-click the bottommost chapter, it should select them all.
    Other shortcuts for books can be set up in Edit > Keyboard Shortcuts in the Panel Menus product area. There are no default shortcuts in that area.

  • My macbook pro is running very slow with some strange mouse and window movements. The trackpad is very unresponsive and when responding the cursor moves on its own and/or very erratically. When on safari the window suddenly zooms in or highlights words.

    My macbook pro is running very slow with some strange mouse and window movements. The trackpad is very unresponsive and when responding the cursor moves on its own and/or very erratically. When on safari the window suddenly zooms in or highlights words and looks them up via dictionary. I currently have a wireless mouse connected and I am still having the same problems.
    I fee like I may have a virus or my laptop is perhaps being accessed remotely. All of the sharing options are unchecked.
    HELP PLEASE
    Very worried!!

    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
         Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
         COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and
         after the chime press and hold down the OPTION key until the boot manager screen appears.
         Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
         Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).
    4. Reinstall Lion/Mountain Lion, Mavericks: Reboot from the Recovery HD. Select Reinstall Lion/Mountain Lion, Mavericks from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).

  • PIE Chart Color Highlight - setting colors

    Hi
    PIE Chart showing default colors even after setting the diffent colors to OIE chart slices from Color Highlight tab.
    PIE chart is showing only one slice when I select Data for the PIE Char is "For all records".
    Could you please let me know how to set the different colors for slices?
    Thank you

    hi,
    As you are selecting 'Color Highlight' for different Pie Slices,  "For all records" option shouldn't be selected.
    It should be "On Change of".
    Then obviously you will see the colors specified in 'Color Hghlight' tab.
    Regards,
    Vamsee

  • Color Highlights not working in bar chart with two data points

    Iu2019m using Crystal Reports 2011.  I have created a bar graph using two data fields in the Chart Expert.  I have set the colors for the bars in the Color Highlights tab, but the colors that I have defined have not been applied to the graph.  
    I have tried changing the colors numerous times and have done it in both design and preview modes.  It seems to be somethign with having two data points because I don't have this problem when using just one data point.  Please help!

    is the colour mode Color by group or color by series

  • I am looking at a web page with highlighted words that are links that open new windows. I don't even click on them and they upen as I pass over them accidentily with the cursor. extremely annoying!what is it called and how can I remove this 'feature'

    it is usually one highlighted word that when touched, opens up a small window of related companies or info or websites that I might be interested in. one word "presenter" was highlighted, touched it with my cursor, and I think caught a damaging virus.

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode].
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > '''Use hardware acceleration when available'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u Options > Advanced]. All these settings/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme or hardware acceleration is causing issues.

  • I have highlighted words in an .iba file. Now I need to increase the space before (and/or after) the paragraph it's contained in. If I increase the space after, the height of the highlighting increases also. Is there any way around this?

    I have highlighted words in an .iba file. Now I need to increase the space before (and/or after) the paragraph it's contained in. If I increase the space after, the height of the highlighting increases also. Is there any way around this?

    http://www.apple.com/feedback/kaywerty wrote:
    A rather long winded way of asking if anybody knows if it's possible to have multi-windows open
    It's not possible.
    Suggestions here -> Apple Product feedback

  • Interactive Report - Date Filter Color Highlight SYSDATE Calculation

    I have APEX 4.1.0.00.32. Straight forward items report, with a date field for when the item was added. I want to create a highlight filter (color highlights) for items added within the last week, called New Items
    When I create the filter, it allows me to specify the name, color, etc., but the highlight date condition of "Added_Item > " only seems to allow for a specific date chosen from the calendar, whereas I want it to be "Added_Item > sysdate-7"
    I haven't had any luck with TO_CHAR / TO_DATE functions around the sysdate-7. The filter just indicates Date YYYY-MON-DD HH24:MI is the expected format.
    date functions not allowed? alternative?
    Edited by: Alan10205659 on Mar 1, 2012 2:21 PM
    Edited by: Alan10205659 on Mar 1, 2012 2:22 PM

    Hi,
    you could add new computation "Added This Week" (Format -> Compute), with Computation Expression:
    case when sysdate- B < 7 then 'Y' else 'N' end
    --B is my date column
    Then you can add color highlight, with **Added This Week = Y
    Additional you can even hide computed column (Action -> Select Columns)
    You can check example on http://apex.oracle.com/pls/apex/f?p=60428:1
    Username: demo
    Password: demo
    Regards,
    Aljaz
    Edited by: Aljaz on 2.3.2012 0:06
    Edited by: Aljaz on 2.3.2012 0:15

Maybe you are looking for