How to BOLD some text in TEXT control?

Hi,
I am using {'\n'} for line break. Which HTML tag <should
be <b> > should bold the first 2 words of the sentence?
Plus How do I insert a BULLET before "Smaller"
Thanks
<mx:Text color="#F9CD00" text="Top Reports{'\n'}Smaller
Ventricular Assist Device Gets Nod From FDA/>

2 ways -
<?xml version="1.0"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
backgroundGradientColors="[#FFFFFF, #FFFFFF]">
<mx:Text width="100%" color="blue" fontStyle="italic"
fontSize="14">
<mx:htmlText>
<![CDATA[
This is 14 point blue italic text.<br>
<b><font color="#000000" size="10">This text is
10 point black, italic, and bold.</font></b>
]]>
</mx:htmlText>
</mx:Text>
</mx:Application>
or
var myTextField:TextField = new TextField();
myTextField.text = "No matter where you click on this text
field the TEXT IN ALL CAPS changes format.";
myTextField.autoSize = TextFieldAutoSize.LEFT;
addChild(myTextField);
addEventListener(MouseEvent.CLICK, changeText);
var myformat:TextFormat = new TextFormat();
myformat.color = 0xFF0000;
myformat.size = 18;
myformat.underline = true;
function changeText(event:MouseEvent):void
myTextField.setTextFormat(myformat, 49, 65);
HTH
Matthew

Similar Messages

  • IPhone 6 plus- how to delete some of the texts feeds in a conversation from a sender without deleting all texts from sender?

    How can you delete some of the text messages  from a sender without deleting the entire conversation from that sender? After selecting the message or messages...the top left option is "delete all" and the top right says "cancel". I simply want to save some of the history of the texts and delete those that are no longer needed.

    Hey Mari7Can,
    Thanks for the follow up. Hmmm…the options should have shown at the bottom of the screen. Let’s try forcing the Messages application to close and restarting your phone:
    Force an app to close in iOS - Apple Support
    https://support.apple.com/en-us/ht5137
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    https://support.apple.com/en-us/HT201559
    Thanks,
    Matt M.

  • How to display images in TextArea? and how to make some of the text clickab

    1) How do i make TextArea display images?
    (example a client program, where people chat, put :) and get a smily image)
    2) For example if text is http://www.something.com in textArea, a person can click it, and my custom dialog will apear saying something about this link.......

    This has been discussed very many times! It is solvable. Search the forum!
    one way is to make a custom textarea extending Canvas, and painting the text in the paint() method. You need a paint method with drawString and drawImage calles to make it the way you describe it. You also need to add a MouseListener for detection of clicking.

  • How to bold/italics/underline specific text (not default) in Calendar Ver 7?

    See above.  I've already tried Ctrl+ U/I/B and Command + U/I/B
    The app = Calendar Version 7.0 (1835.1) in Mac OS X. 
    Looking to select specific text in the Notes/Attachments/URL portion of the appointment and mark it up.  We can do this right?  MS Office can, so surely... 
    Thanks so much! 
    Randoramma

    Why haven't I read about this problem elsewhere?  Help!
    Probably because it's not an issue for others.
    I have lost the ability to select italics in both Pages and Text Edit.
    Can you try a few different fonts and see if this happens?
    Some fonts don't have an italic style (eg Marker Felt, Papyrus) where other fonts are more complete and have an actual font specifically for italic (eg Helvetica, Gill Sans). Some programs work around this by faking an italic font. Pages and TextEdit not fake an italic font and only let you choose italic if the font provides it.

  • Disable some columns in table control?

    Hi
    How to disable some columns in table control.
    For Ex: Table contains 8 columns.
    In first row i want to disable first 4 columns.
    in second row i want to disable last 4 columns.
    In third row i want to disable first 2 and last 2 columns.  How can we achieve this?
    Cheers,
    Venkys.

    HI
    Create three attribute in the node which is bound to the table as data source.
    say pro1, pro2, and pro3 of type wdy_boolean.
    now bind the enabled property of first four column editors to pro1, last 4 to pro2, and pro3 to first 2 and last 2.
    then go to the eventhandler of the dropdown 's on select event and write the code to update the values of these attribute
    according to the selected value.
    here is the sample code.
    DATA lo_nd TYPE REF TO if_wd_context_node.
        DATA lo_el TYPE REF TO if_wd_context_element.
            DATA lv_VAL LIKE ls_dealer1-name.
        lo_nd = wd_context->get_child_node( name = 'DEALER1').
      lo_el = lo_nd->get_element(  ).
        lo_el->get_attribute(
          EXPORTING
            name =  `NAME`
          IMPORTING
            value = lv_VAL ).
         DATA PR1 TYPE WDY_BOOLEAN.
         DATA PR2 TYPE WDY_BOOLEAN.
         DATA PR3 TYPE WDY_BOOLEAN.
      PR1 = ABAP_TRUE.
    PR2 = ABAP_TRUE.
    PR3 = ABAP_TRUE.
    IF LV_VAL EQ 'A'.
    PR1 = ABAP_FALSE.
    PR2 = ABAP_TRUE.
    PR3 = ABAP_TRUE.
       ELSEIF LV_VAL EQ 'B'.
    PR1 = ABAP_TRUE.
    PR2 = ABAP_FALSE.
    PR3 = ABAP_TRUE.
    ELSEIF LV_VAL EQ 'C'.
      PR1 = ABAP_TRUE.
    PR2 = ABAP_TRUE.
    PR3 = ABAP_FALSE.
      ENDIF.
       LO_EL->SET_ATTRIBUTE(
       NAME = 'PRO1'
       VALUE = PR1
       LO_EL->SET_ATTRIBUTE(
       NAME = 'PRO2'
       VALUE = PR2
       LO_EL->SET_ATTRIBUTE(
       NAME = 'PRO3'
       VALUE = PR3
    thanks
    sarbjeet singh

  • How to bold the text in text edit control

    Dear all,
    i am using text edit custom control in module pool.
    i want to bold the text in text edit control.

    Hi.,
    Check this  [Program|http://www.se80.de/ABAP/ZPA_SE80_IC_PROGART.html]
    It may help you to increase font size in text edit control.
    Thanks & Regards,
    Kiran

  • Bold Text in Bursting Control Files

    Hi,
    I have a bursting control file that sends reports via email, is it possible to display some of the text shown within the email as bold?
    Regards
    Carl

    Assume you have a HTML mail reader!?
    Otherwise not sure. I was a bit tentative as I haven't tried it myself and was just going on another post I had read where it was suggested the <br> tag could be used to force a line break.
    Hopefully someone else will chip in with the definitive answer.
    Cheers,
    Dave

  • Get a Arabic text bold in a basic RichText control

    Maybe a very silly question, but I'm searching for a solution many days now and maybe someone had the same issue.
    I have a basic Arabic text and put in a Flex RichText control with this line:
    public override function set text( value:String ):void
         this.textFlow = TextFlowUtil.importFromString( value );
         // this.textFlow = TextConverter.importToFlow( value, TextConverter.TEXT_FIELD_HTML_FORMAT );
    In a CSS file I tell the application to make all the text bold for this RichText control. And the strange thing that happens is that a "normal" english text appears bold and the arabic text stays the same as if the font-weight was set to normal.
    Can someone please help me?

    Nothing to do with CSS.
    On windows I have AdobeArabic-Regular and AdobeArabic-Bold installed.
    This markup gives me bold text.  I use the textLine.dump() method to see what font player has actually chosen.
    <span fontFamily="Adobe Arabic" fontWeight="bold">
    If I remove AdobeArabic-Bold and render the same markup FlashPlayer does a fallback looking for some appropriate bold font that has Arabic.  If it can't find it bold text is not rendered.
    Hope that helps,
    Richard

  • How can I set the caption text of picture controls inside an array or how can I choose which array element is assigned using the array elements caption text property.

    I have 8 picture controls inside an array and I would like to set the caption text of these controls.
    I have used the property node of the array and used the array elements property caption text to set the text.
    The problem is however that I set the same text to all the picture controls inside the array.
    My question is how to set caption text of specific elements (Picture control) that I have so far only been able to access using the array elements caption text property.

    Some more help
    1 You could use the caption of the array and place it in front of the selected picture and update that using property nodes.
    2 Like Norbett said if you use a cluster of pictures then their caption can be updated individually.
    Here is a an example that demonstrates the above
    David
    Attachments:
    Modify the Captions Of Pictures.vi ‏83 KB

  • How to display text in custom control?

    Im doing a module pool program. There I have a Input field ,if user input there, some text I have to show in custom control. I have created custom control . But how to display some text there? what method I have to use?
    I have use this code for creating custom control.
    CREATE OBJECT EDITOR_CONTAINER
          EXPORTING
            CONTAINER_NAME              = 'TEXTEDITOR'
          EXCEPTIONS
            CNTL_ERROR                  = 1
            CNTL_SYSTEM_ERROR           = 2
            CREATE_ERROR                = 3
            LIFETIME_ERROR              = 4
            LIFETIME_DYNPRO_DYNPRO_LINK = 5.
        CREATE OBJECT TEXT_EDITOR
          EXPORTING
            PARENT           = EDITOR_CONTAINER
            WORDWRAP_MODE    = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION
            WORDWRAP_POSITION          = LINE_LENGTH
            WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=>TRUE.

    Hi,
    You will have to use the method 'set_text_as_r3table' to display your text in the object.
    The text will have to be passed as an internal table to the method.
    Regards,
    Ankur Parab

  • How do I pull up the left control panel that allows you to move from text to moving objects on page?

    How do I pull up the left control panel that allows you to move from text to moving objects on page?

    Do you mean this one:
    If so, go to the Window menu and make sure that Tools is checked.

  • Who knows how to output some text once labview detects something I want using pattern matching(V​ision assistant)​?

    who knows how to output some text once labview detects something I want using pattern matching(Vision assistant)?
    The text is something like"Yes, this is a coin"
    Thanks!

    I attached a SubVI which I used to place an overlay next to a Pattern, found by a Pattern Match before:
    As you can see, you simply pass the image reference and the Array of Matches to the VI along with the String you want to have as an overlay next to the Match.
    I also modified your VI a bit, but didn't test it. I created an Array of clusters, each elment containing the template path along with the respective text.
    Please note that this is just a hint!
    Christian
    Attachments:
    suggestion.vi ‏146 KB
    Overlay_Txt.vi ‏24 KB

  • How to send some text to an ASP or PHP page?

    How to send some text to an ASP or PHP page with HTTPService?
    I'll store the submitted text to database through the page.
    Thanks!

    Set up an HTTPService. the xml inside the mx:request area
    will be passed using the method you define in the httpservice tag.
    <mx:HTTPService id="serviceName"
    url="
    http://www.site.com/page.php"
    useProxy="false" method="POST" showBusyCursor="true" >
    <mx:request>
    <val1>value 1</val1>
    <val2>value 2</val2>
    <val3>value 3</val3>
    </mx:request>
    </mx:HTTPService>

  • How to bold part of text in javascript

    Hi,
    I have a form which puts several text fields in to one text box. I have a link at the bottom as an example. It was based on an example I found on: http://www.assuredynamics.com/index.php/portfolio/concatenating-and-floating-fields/
    Basically Im nearly there, but just need to make the first part of the detail Bold in the target text box. This part is the 'tel 5.rawvalue', tel 6.rawvalue' etc. Does anyone know how to make this bold in the code? It is from the target text box calculation script? The code is here and ive made the bits I want in bold red:
    var vString = &quot;&quot;;
    if (_5th_phone.rawValue != null) {
              vString = vString + &quot;\n&quot; + Tel5.rawValue +&quot; &quot; + _5th_phone.rawValue;
    if (_6th_phone.rawValue != null) {
              vString = vString + &quot;\n&quot; + Tel6.rawValue + &quot; &quot; + _6th_phone.rawValue;
    if (_7th_phone.rawValue != null) {
              vString = vString + &quot;\n&quot; + Tel7.rawValue +&quot; &quot; + _7th_phone.rawValue;
    if (_8th_phone.rawValue != null) {
              vString = vString + &quot;\n&quot; + Tel8.rawValue + &quot; &quot; + _8th_phone.rawValue;
    this.rawValue = vString;
    This is the form:
    https://workspaces.acrobat.com/?d=lyBRPEnbxG6c0CK*BOsqNg
    Many Thanks

    Since you're working with an XFA form in LiveCycle Designer, you should post in the Livecycle Designer forum here. This forum is for JavaScript programming with Acroforms/Acrobat.

  • Hi! I updated my Mozilla Firefox to new verison(Mac OS X), and now in some pages all texts is in bold. Where is the problem? Thanks!

    Hi! I updated my Mozilla Firefox to new version(Mac OS X), and now in some pages all texts is in '''bold'''. Where is the problem? Thanks!

    Did you do a font check in Font Book?
    Be aware that a default encoding of UTF-16 as shows in your screenshot may lead to problems.<br />
    The default is Western (ISO-8859-1) and you should change the default encoding to that setting unless you have changed that deliberately to UTF-16 for specific web pages, but even in that case it is better to make the change via View > Character Encoding or set Auto-Detect to Universal or UTF-16.

Maybe you are looking for