Setting the color (or background color) of a substring

Is it possible to set the color of a substring. For example:  If I had the string "Steve is stuck and needs help" and I wanted to change it to become "Steve is stuck and needs help".
At present I am trying to modify the text inside of a String Indicator, but am open to suggestions.
I have been reading the LV help and it seems to suggest that you can do this using the Text.SelStart and Text.SelEnd properties, but I can't get over that last hurdle that actually updates the string.
Regards
Steve
https://decibel.ni.com/content/blogs/DailyCLAD
Solved!
Go to Solution.

So close.
Thanks All
https://decibel.ni.com/content/blogs/DailyCLAD

Similar Messages

  • Tableview Cell - setting the font and background colors

    Hi,
    I am developing a BSP with a Tableview. The user asked me about displaying a row with a diferent color (font or background) when some data changes on this table.
    I am thinking about using a Tableview Iterator to evaluate the content of a cell... but I dont know if I can change the look and feel of the row on where this cell is.
    Has someone dealed with this? Can you tell me how?
    thanks
    Ariel

    Actually this is the whole purpose of the Iterator.
    I would suggest you take a look at the SBSEXT_HTMLB and SBSEXT_TABLE BSP Application as well as the following weblogs.
    /people/thomas.jung3/blog/2004/09/15/bsp-150-a-developer146s-journal-part-xi--table-view-iterators
    /people/sap.user72/blog/2004/09/07/bsp-howto-exploring-bsp-development-and-the-miniwas-620
    /people/sap.user72/blog/2004/08/27/bsp-howto-tableview-iterator--column-header-graphics
    /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
    In those examples you'll see how easy it is to alter the content of the current cell or a cell with a specific value and output anything from graphics to input fields or dropdown boxes or even just change the text, color and styles of the content.

  • Is it possible set programm menu module background color?

    HY,
    is it possible set programm menu module background color?
    thanks

    Hy,
    thanks for your answer, but, if i understand well,
    it's for individual menus and submenus (lower-level menus, displayed by default as vertical Lists of menu items) menu items
    I am speaking about a main menu (the top-level menu, displayed by default as a horizontal strip)
    And, when create a VA in menu module isn't possibile set color but only font.
    I believe it need create VA in set_visual.....
    Thanks again
    Rosario

  • How to change the particular column background  color in jTable?

    I am woking with a project, in which I am using a jTable. Then
    How to change the particular column background color in jTable?

    Use a custom Renderer. This is the JTable tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

  • I udate my os to 10.6.7 and since then my Pages have color problems. The text is not visible (white on white background) it does'nt help to change the text color nor background color. Pls help

    I udate my os to 10.6.7 and since then my Pages have color problems. The text is not visible (white on white background) it does'nt help to change the text color nor background color. I just download the recent trail version of Iworks and install it. The first document I opened it was ok. When I open the second one the problem appear again and stayed. Pls help

    This behavior was described many times.
    In every occurrence,the operating system was an uncompleted one resulting of the use of Software Update to update the operating system to 10.6.2, 10.6.3, 10.6.4, 10.6.5, 10.6.6, 10.6.7.
    In such cases, the solace was to apply a combo updater.
    As you are using 10.6.7, download and apply the combo 10.6.7 :
    http://support.apple.com/kb/DL1361
    After that, run Software Update which will urge you to apply :
    Snow Leopard Font Update
    Yvan KOENIG (VALLAURIS, France) dimanche 29 mai 2011 21:15:58
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Selective replace foreground-color with background-color

    Hi,
    I'm new to Photoshop and coming from paint shop pro (psp).
    Now I have to recolor a black dotted arrow in a bitmap to red.
    All other contents are black, too. In psp there is a tool/brush to
    replace foreground-color with background-color. So I'd select
    black as foreground-color and red as background-color, hover
    with cursor over the area to recolor and that's it.
    How to do it with Photoshop?
    Thanks in advance
    Jörg

    softmonauts wrote:
    Now I have to recolor a black dotted arrow in a bitmap to red.
    All other contents are black, too.
    Can you clarify this?  It sounds like you have a black arrow on a black background.

  • Setting the font style and color for FileChooser labels

    Hi Friends,
    I have a certain standard Font style and color set for my application GUI. Now, I want to set the style and color for Swing components like FileChooser. Is it possible ?
    Also is it possible to localize JOptionPane ?
    Please advise.
    Best regards,
    Harilal.

    Does anybody knows how to do that?

  • How to set the 4th Y axis color for a line graph

    Hello experts,
    I have developed a multiple y axis line graph using oracle reports 10g.
    It has got 1 x axis and 4 axes. I am able to set the color of the the first three y axes
    but the reports designer automatically assigns yellow color to the 4th axis.
    I mean there is no option in the graph wizard for changing the 4th color)
    How to change the color of this 4th y axis to a desired color?
    Cheers
    Sri

    Assuming you mean that your graph has 4 series, not 4 Y axes, you might try something like this:
    1. Save a backup copy of your current report in case the changes you are about to make don't work out and you want to revert to the backup copy.
    2. Using the Property Inspector, display the current value of the Graph Settings property for your graph. The value of the property should be something like:
    <rw:graph id...
    </rw:graph>3. Look for a <SeriesItems> tag and a matching </SeriesItems> tag in the property value. If you don't find them, add the following two lines immediately before the </Graph> tag.
    <SeriesItems>
    </SeriesItems>4. Between the <SeriesItems> tag and the matching </SeriesItems> tag, add (or update) a <Series> tag for each series that you want to specify the color for. For example, to specify the color of the fourth series as red, you would use a <Series> tag like this:
    <Series id="3" color="#ff0000"/>Note that the id numbers start at 0 for the first series, 1 for the second, and so on. The color value is a hexadecimal number specifying the RGB value of the color.
    You can also use the <Series> tag to specify other features like the marker shape.
    For more information on what you can do using the Graph Settings property, see this FAQ and Technical Note.
    Hope this helps.

  • Change the Standard SAP background color(blue) in SRM EBP

    Hi All,
    I have cleint requirement to change the standard background color in EBP ITS application. Can anyone help me out in finding way to make color changes as required. I am not getting where exactly change needs to be made. I tried looking at BBPGLOBAL internet service but couldnt figure it out.
    Thanks in Advance.
    Yaseen.

    Hi Yaseen,
    you can change background colors in SE80 in the css-style-sheet:
    Navigate to ITS-Service BBPGLOBAL -> Theme99 -> Mime Objects -> STYLE -> EBPAPPLICATION.CSS
    Change or insert the BACKGROUND-COLOR - Tag for the different styles which are used in HTML-Templates.
    Example: BACKGROUND-COLOR: #306897
    Afterwards publish the style. It's a little difficult to find the styles.
    Regards
    Joe

  • May a user change the paste board (background) color in acrobat 9

    I have a customer supplied file with a screen the exact same color as the background or pasteboard color in acrobat 9. So I cannot see the edge, I cannot see if there is bleed etc... This color is much darker than the gray background in acrobat 7 which I have bee using.
    I find this background much to dark for my use and I would like to change it to a lighter gray as the paste board in 7.
    Where is this preference?

    I don't believe there is any way of changing the pasteboard (background) color in any version of Acrobat.
    However, there are a couple of Page Display settings which may help:
    Check "Always show document page size" to show the size of the document (trim size).
    Check "Art, trim & bleed boxes" to show these features. You can open the the Crop Page dialog to show the size of any of these boxes.

  • How to change the current item background color

    I m working in forms 6.0.
    I want to mak the background color of the current item (whatsoever the item name is ) as 'yellow'. How can i do that.How can i accoplish that? I've tried
    set_item_property(:system.cursor_item,background_color,'yellow');
    in Pre_text_item
    set_item_property(:system.cursor_item,background_color,'white');
    in post_item_item
    at block level
    But i failed to do that
    anyone to help me plz
    Riaz Shahid

    hi riaz,
    i think instead of pre-text-item put the code in when new item instance.or try creating a visual attribute with background color as yellow and attach that using set_item_property in when new item instance or check for help on DISPLAY_ITEM built in in forms help.I think one of these should definitely help u.
    bye
    Atul

  • HT201726 How to set again your windows background color

    I  used to have a pleasant blue color as a background for my files, documents, applications, but when I looked for a file and clicked on the screen the color was gone becoming a white background.
    I used to see the view options but now it has the point on one selection and cannot click on the color to change it back again. Any solutions and/or suggestions on how to do it? Thank U.

    I';ll try to make it as clear as I can to cover all bases. I set before the blue color I wanted, it changed once I update the OS System to Maverick.
    When I open the finder window on the left column appears 8 (eight) icons, another one for shared plus other for tags.
    All the first 8 used to have the blue color set. Now only iCloud, Desktop, and Ilabra (home). All my files, documents and applications the background used to be blue they turned White..
    ON the three options of White, Color or Picture, The selection appears on White and the other two are shaded. Before the View had the three option when I applied the blue color. Now I can not, and I do not know why this occurred.
    I hope I have been clear with the explanation. Any more suggestions? I will certainly appreciate them and your time and patience.

  • How to change the font and background color in PowerShell

    From your error messages to your output parameters, changing the colors of different PowerShell variables and outcomes is a straightforward and useful way to customize your PowerShell console. You can quickly identify ouputs, error messages, parameters and more with simple color cues – and when you're dealing with a longer script, being able to quickly identify anything is a huge help.In aguide on how to configure and customize your color settingsin PowerShell, Petri walks through each and every step, and even donates some of itsown custom PowerShell color themes scripts. (It should be noted that this only works for PowerShell console and not PowerShell ISE.) You can access your color configuration by entering:Powershell$host.privatedataThis will pull up a list of all your colors as they are currently set.Image credit:Jeff HicksNow...
    This topic first appeared in the Spiceworks Community

    Use a custom Renderer. This is the JTable tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

  • What is the technique for background color to text box?

    I expected that I could fill the background of a text box but
    I can't see any way to make the fill.
    Using the fill tool only effects the text,not its background.
    Perhaps I'm missing something in which case I'd appreciate a
    direct to the place in the help where this is described.
    Otherwise the implication is that you have to place a filled
    object behind the text, is that correct?
    Thanks

    "Otherwise the implication is that you have to place a filled
    object behind the text, is that correct?"
    This seems to be the approach to be followed.

  • Used to be that when I searched on google the links would change color once I had been to a specific link. Now despite the fact that I have my color preference set the links dont change color!

    Not really any more to say

    Either of the two styles should give you what you want, install the "Stylish" extension first.
    * Stylish :: Add-ons for Firefox<br>https://addons.mozilla.org/firefox/addon/stylish/
    * Red: Mark visited links as read on unruly domains<br>http://userstyles.org/styles/16842/
    * Red:visited -- Mark visited links Red (*DM) <br>http://userstyles.org/styles/17357/

Maybe you are looking for

  • OIM 9 update user

    I am trying to update a user using the updateUser API and its not setting the vaue. Here is the code: Hashtable cdeSearchCriteria = new Hashtable(); cdeSearchCriteria.put("Users.Key", cdeUserKey); tcResultSet cdeResultSet = UserIntf.findUsers(cdeSear

  • Is the iPod nano [second generation] supported by OS Lion and iTunes 10

    Hi All I cannot "see" my 2nd gen iPod nano on iTunes 10.6 running on a new iMac with OS Lion. I have worked through the various troubleshooters to no avail. Have Apple ceased to support the 2nd gen nano? LF

  • WLC Firmware upgrade

    I am working on a firmware upgrade on WLC 5508 and WLC 2100 from 7.2.111.3 to 7.4.121.  I have 10 forign controllers and 2 anchor controllers.  My question are: (1) Should I upgrade the forign controllers first or anchor controllers first? (2) Should

  • How can i test if the frame is created

    hi, i am using ADFBC Swing. i have created an MDI Frame and 2 internals frames. in the MDI frame i put a button and i want when i press it i do a test. if the internal frame1 is created i unload it and i create the 2. else if the second is created i

  • Cannot open the file [filename].indd, ...

    I have some older InDesign .indd files on a DVD that I'm trying to open in InDesign CS3. When I double-click the file, InDesign starts, but then I get the message "Cannot open the file [filename]. Adobe InDesign may not support the file format, a plu