Color change just for a specific word in a label?

Is Hi possible to change the color of a single word in a label?

For example, the text is "How are you * John *?" The word between double asterisks (*) will have a different color. So it is printed as "How are you John?"

I can use the string.replace () to remove the asterisks, but cannot find a way to change the color.

Any solution? Thank you

try to use

Label {
    text: "How are you John"
}

Tags: BlackBerry Developers

Similar Questions

  • Is there a way to search for a specific word in a text file on an iPhone?

    I just bought an iPhone 6 Plus and have some TextEdit/RTF files in iCloud. I opened one on the phone butI cannot know how he search for a specific word or group of words. Is there a way to do this?

    Thank you.

    You open files with what app?

  • How to search for a specific word in the code using Dreamweaver?

    I need to search for a specific word in the code for all the pages of my site. How can I do it using Dreamweaver?

    To search for local files of a Site defined in DW...

    Open the search tool & replacement with Ctrl + F

    Replace the drop-down list search in entire current Local Site

    Replace the drop-down list of search text or Source code

    Add the text to search for in the search field

    Add the replacement text in the field replace (or nothing if you just want to remove the text)

    Hit replace all

  • Windows 8 keyboard works do not, but just for a specific profile (NOT a hardware problem)!

    Hey people this is the strangest question.   Device Surface RT of my wife had the keyboard AND the small button of windows on the prior to completely stop working.   The game mouse and left and right mouse keys still work.   Also, there is still a small noise when you press the keys, but nothing appears on the screen.   I tried to plug and reconnect the cover touch, tried to uninstall and reinstall the drivers, and then I put in place a whole new profile on the machine and the button keyboard and windows worked fine.    Then I connected to our desktop PC of Windows 8 with my wife and found that the keyboard does not work there either!   Maybe there is a setting or another that has been altered in its account of Microsoft and now the setting is homelessness... it's the strangest problem.   Has anyone ever heard talk about him?     I consider just ditching her account and setting it up with a new one but it has invested heavily in ongoing one since it is also his e-mail address and she had a bunch of applications.

    Thank you
    Mike

    None of these methods did the trick.   The real solution was to change a configuration setting in the center of the "ease of access".   I had a setting called "Turn on filter keys" turned on, as well as some detailed within this feature options.   It was probably the result of my daughter for 3 years getting there when I wasn't looking :-).    Given that I had roaming profile through devices settings, it affects all devices connected to this account.   After that I fixed it in the same place, the new setting propagated to the others and the problem was solved!   I hope that my pain on this is useful to someone else in the future who runs into this problem.

    In addition, I hope that Windows 8 product team numbers how 'error proof' this 'feature' which is configurable in the next update of product, since I can't imagine any scenario of "ease of use" could involve expanding the physical buttons on the keyboard and windows stop working while still making small noises as if they work.

  • Colors changing when you export files HAVE in InDesign

    Hello

    Since the upgrade of CS6 CC last year, I think my profiles color or something are put in place bad between CS programs. When I'm working on a file in Illustrator (RGB) and then place it in indesign, as soon as I export the PDF the colors change. For example, a series of gray tones will be released as blue and bright orange. I'm not clued up with the settings of all programs and the inner workings, but I've never had this problem before, I've never had to change all the color settings, so think, need a new default setting I don't know.

    I understand there are a many settings that could do that. I export the PDF RGB file too, but I can't see a likely switch to CMYK. Is anyway to reset all the settings back by default so that I can at least try and get the settings I usually use with CS6.

    Don't know what to do... any advice would be much appreciated! Thanks in advance

    Your Illustrator color settings is a problem. Choose 2 North America prepress of the parameters, which will assign sRGB to new documents and allow you to assign a profile to the existing docs. You can also consider to synchronize all your Adobe applications through the bridge Edit > color settings.

    As test try to synchronize your color for North American prepress settings, create a new document, place the file I and export with the output parameters in my first post.

  • Add the xml tag to specific words in a block of text

    Hi all

    I'm sure that it is not too complicated, but after hours of experimentation, research and reading, I can't look at it from the right angle. I'm trying to find a way to search for a specific word ('Figure' in my case) in a given text frame and add a corresponding XML tag automatically. I found a lot of information on how to apply it to a page item as a whole, but there no approach seems to work. Because I am fairly new to InDesign scripting, a little nudge in the right direction would be a huge help.

    Regards and thanks in advance.

    Julian

    Hi Julian,.

    Is - it ask you?

    var doc = app.activeDocument;
    app.findTextPreferences.findWhat = "figure";
    var found = doc.findText();
    
    for(var i =0;i
    

    Kind regards

    Cognet

  • Find a specific word and change its color in InDesign

    Hello

    I was wondetring if there is a script that runs automatically on InDesign startup that can find the specific words and change the fill color of this word and this word only.

    I have a table in InDesign that fills with the name of the week (Monday, Tuesday, Wednesday, etc.), so that every time you see all the names of the week, but every day they change places. I need a script that can find, for example, the word 'Saturday' and change the color from black to yellow.

    Any help would be appreciated!

    -Windows7 CS6 Indesign

    with respect,

    Amir

    Y at - it a paragraph style applied at this time?

    If so, you can create a GREP style in the paragraph style.

    Make "new Style GREP.

    Text: Saturday

    Apply the Style: A new Style of character

    In the new character Style, only change the fill color and name the style.

    It should work.

  • Problem of color with pdf from Indesign. I have a special mix CMYK for a bcard in Indesign. When I export the pdf file that the CMYK mix has changed just started today 1.13.15 Running Yosemite 10.10.1 all help to what to look for would be greatly apprecia

    I have a special mix CMYK for a bcard in Indesign. When I export the pdf file that the CMYK mix has changed just started today 1.13.15 Running Yosemite 10.10.1 all help to what to look for would be greatly appreciated.

    You are mixing color profiles a-place, or document workspace does not match the destination to export space is incompatible.

  • Flash AS3 Pro: How can I change a font for a specific column?

    I would like to use a font for a specific column in a DataGrid.

    Thank you

    Yes, you can set individual policies for cells in a datagrid control. Look at this tutorial: text formatting changes to cells in the DataGrid control. This will give you the basic idea for the outer class, you need to write. In the example, you will see that there are three cells that have changed their color of the text. To change the font, you must first import the new font in your file library and set a name for Actionscript police liaison. Then, you add just a line to set the font for a single cell:

    case "pending":

    TF. Color = 0xFF0000;

    TF.font = 'Times '.

    for example.

  • Is Acrobat Pro just for us. We have an employee handbook that needs editing. A part is current pdf, some of an earlier version. You want to get all in a manual, the table of contents automatically adjust and links to specific pages of the table of content

    Is Acrobat Pro just for us. We have an employee handbook that needs editing. A part is current pdf, some of an earlier version. You want to get all in a manual, the table of contents automatically adjust and links to specific pages of the table of contents.

    Acrobat Pro is certainly not the right tool for editing. You want to change the manual using the source - MS Word files for example. Once you have the full changes including OCD work as you want, Acrobat Pro is the tool to convert the source document to PDF format, and ensure the accessibility requirements of 508 - and preferably ISO 14289 (PDF/UA) - are met.

  • Double-click to open a Word or Excel file crashes just for centuries before opening it later.

    Recently, by double clicking on a file name to open a Word or Excel file, my PC crashes just for centuries before opening it later. Text files, PDF, jpg files and other open immediately, no problem. I have not changed the Word/Excel software recently and the extensions.doc/.xls file are correctly associated with programs. Why don't double-click work properly?

    Open Word/Excel and then use the file - dialog box open to open a file.

    Which causes the same delay?

  • Hello, I have just purchace pdf to word and excel converter and pay $ 24, but finally it's completely uselless for me because there no Greek language and convert the file completely incomprehensible... that I can speak for that?

    Hello, I have just purchace pdf to word and excel converter and pay $ 24, but finally it's completely uselless for me because there no Greek language and convert the file completely incomprehensible... that I can speak for that?

    Hi mariax7664987,

    Https://cloud.acrobat.com/ service export to Adobe PDF format is used to change the shape of PDF file format to other formats supported fire. His will not change the language of the PDF text.

    Kind regards
    Nicos

  • Some colors change from Photoshop CS6 save for web?

    I have a picture with great color surface: #fffdfd, when I save for web (jpg) this color is changed to #fefcfd (in JPG format).

    I just can't save as jpg with #fffdfd.

    (was trying to uncheck convertir convert to sRGB, don't embed color profile - always #fffdfd becomes #fefcfd when save for web)

    However, the #fefcfd color when save for web, does not change.

    Why some colors and some not? Is this a bug?

    Window7 64 bit, Photoshop CS6

    Save for devices & Web will remove some color from the file data.

    Browsers are not color management. Most of the formats of file on browsers assume they are sRGB. While Photoshop gives you the possibility of incorporation sRGB color space of a document, it also strips data that are not relevant. It is a common phenomenon.

    PNG - 24 on the other hand will give you the exact color matching.

    In addition, save for W & D, JPG quality questions a lot - the same color quality 10,20,30,40, 50... 100 wil give you reproductions different colours on the output end JPG.

    If you are concerned that much on an offset of +/-1 hexadecimal value of RGB color space, do not save for web & devices. Do a "Save as" instead. Then use an image editing / application like ResizeMe resizing to resize the quality of your document. This, in most cases will retain information colourspace but just drop the resolution and quality of the image, giving you a smaller size.

    On a sidenote, you can also read this article on how to better manage the color spaces: http://viget.com/inspire/the-mysterious-save-for-web-color-shift

  • Why the Word icon changed on just this computer - new Word icon with an area gray at the bottom left with a diagonal bar or a pencil?

    Last week, one of our machines (34 bit) Vista has begun to view Word files by an icon which ranges from normal Word icon.  This strange Word icon has the normal Word icon with a gray area at the bottom left.  In the grey area is a diagonal bar or a pencil.  (Too small to see clearly).

    It seems to behave like a normal Word document, but the icon is different.  When double click on the file, it opens Word application normally.  It prints as expected.  If I find a Word file on the server, the icon of the file word seems normal.  Once I move the computer, afterwards, the change icon.  For some, it changes shortly after I saved the document on the new computer.  Sometimes, the icon does not immediately change, and sometimes it does.  Sometimes, the icon changes after the updating of the computer.

    I was told what happened after an update of Microsoft, but I can't check.  This computer has a Word 2007 (which has been updated to Word 2003 several months ago) and is running on the Vista operating system.

    We tried to restore the computer to last week, but he did not.  Message:
    "System restore was not entirely successful.  The system files and settings on your computer did not change.
    Details:
    An unspecified error occurred during system restore. »

    Hi Super_Ego,

    Welcome to the Microsoft Answers site!

    I suggest you try the following steps.

    1. click on start and then click Control Panel-> click the default programs->, and then select the set Associations tab.
    2. locate .doc or another Office Word on extensions and select change program.
    3. search for Microsoft Office Word, and then click OK.

    Check if the word file is back to normal.

    If this does not work, I suggest to create a test user account and check if the settings file for the word files are normal.

    Check out this link that talks about How to create a user account in Windows Vista

    http://Windows.Microsoft.com/en-us/Windows-Vista/create-a-user-account

    Let me know if it worked.

    Kind regards
    Karena R - Microsoft Support
    ___________________________________________________________________________________________

    Visit our Microsoft answers feedback Forum and let us know what you think

  • How can I use windows search to search for pdf files containing a specific word?

    I have a folder with several pdf files. When I use windows search for a word that I know exists in one of the files, I get no results. It does not work when I use the content: either.

    How can I use windows search to search for pdf files containing a specific word?

    Do I need to install something to activate search within .pdf?

    If you use Win7 32 bit, the iFilter is bundled with Acrobat Reader 9. On Win7 64-bit, you will need to install it separately.

    http://www.Adobe.com/support/downloads/detail.jsp?ftpID=4025

    Peter

Maybe you are looking for