Flex 4 Spark Textarea without border

Hello

I have a s:TextArea in Flex 4.1 where I try to hide the border. Without success.

I thought it would:

< s:TextArea
borderVisible = "false" >

but the border is still there, also I can't change the color of the font.

How would I do that?

Thank you.

Paul

It works for me in Flex 4.1 and the latest internal builds:


http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
    
        
    
    
        
        
        
    

    


Peter

Tags: Flex

Similar Questions

  • Spark TextArea remove border (borderVisible) in Flex 4.5 Hero

    When dealing with the text box for the development Mobile Flex Hero 4.5 I can't find a way to remove the border.

    < s:TextArea id = "lblPOC" left = "10" right = "10" top = low "10" = "10".

    borderColor = "#FFFFFF" borderVisible = "false" color = "#000000".

    contentBackgroundColor = "#FFFFFF" editable = "false" skinClass = "{null}"/ >

    setStyle does not work on the spark components, that I just discovered.
    Even htmlTexh, I had to:
    MobileTextField (lblPOC.textDisplay) .htmlText =

    Can someone help me remove the resident a spark TextArea in Flex 4.5?

    Thank you

    Eric

    Looks like you were using the preview version of Flex 4.5.  Setting to false BorderVisible works for me in the build of the 4.5 version:

    http://ns.Adobe.com/MXML/2009.

    xmlns:s = "library://ns.adobe.com/flex/spark" >

  • mouse without border. Ask for a security code. where can I find

    I installed mouse without border. Ask for a security code. where can I find

    Help, please

    Hi Keyna,

    Thanks for posting your query in Microsoft Community.

    I understand that after I installed the mouse without borders to ask his security code.

    1. What is the brand and model of your computer?

    Please visit the links.

    http://blogs.technet.com/b/next/archive/2011/09/09/Microsoft-garage-download-mouse-without-borders.aspx

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=35460

    Please do not hesitate to contact us if you need additional assistance. We would be happy to help you.

  • Move a window without border

    Hi guys! I am creating a weather widget with a nice PNG as a background image for my scene. I have set the style scene on transparent, used a PNG with transparency and voila. But I want the user to be able to move the window without border and I can not get the correct code. Here's what I've got so far:
              stage.addEventHandler(MouseEvent.MOUSE_DRAGGED,
                        new EventHandler<MouseEvent>() {
                             @Override
                             public void handle(MouseEvent event) {
    
                                  stage.setX(event.getScreenX() - initialX);
                                  stage.setY(event.getSceneY() - initialY);
    
                             }
                        });
    
              stage.addEventHandler(MouseEvent.MOUSE_PRESSED,
                        new EventHandler<MouseEvent>() {
                             @Override
                             public void handle(MouseEvent event) {
    
                                  initialX = event.getScreenX() - stage.getX();
    
                                  initialY = event.getScreenY() - stage.getY();
                             }
                        });
    It does not move my right window and I also have a bad flicker when moving (Windows 7, nVididia 8800GT).
    If you guys have any ideas please share.
    Thank you!

    Hello
    I prefer rather than add managers on stage, add them to the root node. (Is What ever node)

    The code is...

    /**
     * Method to add drag listeners to the given node
     */
    public void addDragListeners(final Node n){
           n.setOnMousePressed(new EventHandler() {
                public void handle(MouseEvent me) {
                         initialX = me.getSceneX();
                        initialY = me.getSceneY();
                }
           });
    
           n.setOnMouseDragged(new EventHandler() {
                public void handle(MouseEvent me) {
                     stage.setX( me.getScreenX() - initialX );
                    stage.setY( me.getScreenY() - initialY);
                }
            });
    }
    

    And call this method passing the element root of your scene.

        addDragListeners(root);
    

    The code above should work for you.
    Happy coding! :)

    Thank you best regards &,.
    SAI Pradeep

  • How to hide or disable copy/paste option in the contextual menu on spark TextArea in Adobe AIR?

    I need to hide or disable copy/paste option in the contextual menu on spark TextArea in Adobe AIR.please help me. Thank you

    Try with this

    protected function editor_rightMouseDownHandler(event:MouseEvent):void

    {

    If ((editor.textDisplay as RichEditableText)! = null & .contextMenu (editor.textDisplay as RichEditableText)! = null)

    {

    ((Editor.textDisplay As RichEditableText).) ContextMenu as ContextMenu) .hideBuiltInItems ();

    ((Editor.textDisplay As RichEditableText).) ContextMenu as ContextMenu) .clipboardMenu = false;

    }

    }

    protected function editor_copyHandler(event:Event):void

    {

    Event.preventDefault ();

    System.setClipboard("");

    Clipboard.generalClipboard.clear ();

    }

  • Spark textArea - how to capture an event a link html click event

    The MX TextArea component has had in the past a TextEvent.LINK event that triggered when the user has clicked on a link inside the html text.  This has been removed from the component of the spark. I'm looking to intercept the event which opens the browser when a user clicks on a link inside the html text using the spark textArea component.

    See you soon

    StyleableTextField should be easier to handle.   If you change the URL in the href attribute of the tags to use the event: instead of http: and then the link even fires and you can then decide if you want to call NavigateToURL or not.

  • Multiline text without border.

    I want to have Multiline text without border. I watched richtext, but there seems to be no option to remove the border.

    What are my options friends?

    RichText has no border and RichEditableText does not either. There is a focus rectangle, but you can get rid of this by setting the focusThickness on 0.

  • Spark TextArea, performance setFormatOfRange problem

    Hi you

    I'm building the syntax highlight editor using spark.components.textarea

    my application calls setFormatOfRange to put the color on the syntax. but I find that this API is very very slow.

    I need wait more than 10 seconds before the UI response me


    And if I comment on the setFormatOfRange, it works fine without delay

    Seems that the TLF is very slow at this point, is it not?

    Should I change back to use mx.controls.TextArea?  is it faster?

    Thank you

    Richard is the quickest way you can get to form a large number of words in a TextArea. Unfortunately, this solution may not be appropriate in some cases. Say you're listening to TextOperationEvent.CHANGE on a text box for changes to the wording and based on them to highlight certain words (similar to a code editor). If you apply the format using interactionManager, you get another TextOperationEvent.CHANGE and this can lead to an infinite loop.

    What I did to find out how setFormatOfRange works and imitate the code inside this method, using the ApplyFormatOperation and the CompositeOperation. Of course, normally you'll cope with such operations because that is the purpose of EditManager, but sometimes you need just a quick and the working solution.

    You can check this post for more details on how to use operations to format text inside a RichEditableText.

  • Photosmart HP 6520 - without border less printing options

    Hi I'm looking for someone who can help me understand how to get the white on all my photos border when I print. I tried the settings and I don't see any option without margins available. Thank you!

    Hello

    Please see the following article:

    http://support.HP.com/us-en/document/c03382355

    • Select the appropriate options.
  • Flex 4: spark textinput 'value data' not found?

    I have a textinput itemrenderer that Im trying to port for Flex 4. This control colors the background according to the value of the text.

    Two questions:

    (1) conversion for "spark" as a theme seems to be the substitution of the background color and given them to a default value.

    (2) in addition - conversion in "spark.controls.textinput" as the base class removes "override public set data() ' in function.

    If I'm not clear how this port control. Can I continue to use mx.controls. * and 'halo', but it seems that the device port at all.

    Suggestions?

    The spark controls do not have the itemrenderer feature in so that they can

    be a little less heavy.  I would give just a TextInput in an ItemRenderer.  See

    the doc and examples on Spark ItemRenderers.

  • Spark textarea in ItemRenderer

    I have a problem with the text or text box in an ItemRenderer.

    I created a simple ItemRenderer with two textarea.

    In the complete creation of the ItemRenderer, I put the text in the box to a variabele of the oject of data of the item converter.

    As follows:

    chatText.text = this.data.message; (I know with certainty that the message string contains text at this stage).

    When I use this ItemRenderer in a list it will show lines in the list, but the text box don't contain any text.

    But when I click on the text box in a line, the text becomes vissible somehow.

    It only occurs when use the textarea sparkles, the mx textarea shows the text immediately.

    Am I missing a setting or what's new in flex 4?

    Well, look at me as if it was a timing issue, need you adjust the data when the data arrives.

    Try;

    
    
        
            
        
        
            
            
            
        
    
    
    

    Mike

    PS If you get a response from pointer zero return, you may need to invalidation. I don't remember if the new converters have their created children before or after the data set.

  • Web page of need without border

    Hello

    I'm trying to get a drawing full page so that there is no border around the content.  Like this:

    http://compactstudios.com/#/homepage/

    No matter what I do, when I publish the fla file, a small margin will appear around the edges.  Now, without changing the html code, can I get the fla file publish no border so that it appears naturally as "complete" in the browser?

    I looked everywhere for an answer, but nothing helped so any good advice would be warmly received.

    Thank you

    Steve

    If you post 100 changers page 100 %x % won't be necessary regardless of the size of the browser and the size of the stage.   How your flash is positioned/scaling in the browser display depends on the stage scale mode.

  • Dynamic resize TextArea without scrollbars

    There is an example of a text box dynamic resizing without scrollbars on the link below, but it does not work with htmlText, only normal text.

    Any suggestions on what are the changes to the code to make it work with htmlText?

    It's link with the example:

    http://www.Adobe.com/cfusion/CommunityEngine/index.cfm?event=ShowDetails & postId = 13628 & Prod = 2 uctId

    Thank you.

    Maybe this:
    package components {}
    import flash.events.Event;
    Import mx.controls.TextArea;
     
    SerializableAttribute public class DynamicTextArea extends TextArea {}
    public void DynamicTextArea() {}
    Super();
    super.horizontalScrollPolicy = 'off ';
    super.verticalScrollPolicy = 'off ';
    this.addEventListener (Event.CHANGE, adjustHeightHandler);
    }
    private void adjustHeightHandler(event:Event):void {}
    trace ("textField.getLineMetrics (0) .height:" + textField.getLineMetrics (0) .height);
    If (height<= textfield.textheight="" +="">
    height = textField.textHeight;
    validateNow();
    }
    }
    override public function set htmlText(val:String):void {}
    textField.text = val;
    validateNow();
    height = textField.textHeight;
    validateNow();
    }
    override public function set height(value:Number):void {}
    if(TextField == null) {}
    If (height<=>
    Super.Height = value;
    }
    } else {}
    var currentHeight:uint = textField.textHeight + textField.getLineMetrics (0) .height;
    If (currentHeight<=>
    If (textField.textHeight! = textField.getLineMetrics (0) .height) {}
    Super.Height = currentHeight;
    }
    } else {}
    Super.Height = super.maxHeight;
    }
    }
    }
    override public function get htmlText (): String {}
    return textField.text;
    }
    override public function set maxHeight(value:Number):void {}
    super.maxHeight = value;
    }
    }
    }
  • table without border - gui problem

    Hello

    I have the array of strings

    I want to remove the grey spaces between each element (indicated by arrows), but I can't. I want them to be transparent, but I can't

    Do you have any idea how to do that?

    Thanks to advice.

    pawhan11 wrote:

    You have any ideas?

    Same story. Simply color the transparent frames.

    It's really not clear to me if you want white or transparent. Here it is as transparent and white. You should always go in the editor control and make the border disappear completely to keep the same line spacing.

    Also remember that all this would be much easier and more own the with this idea of implementation.

  • flattened draw without border and transparent background pixmap

    Dear members of the Forum,

    I am completely new to LabVIEW and use especially for graphic animations.  I want to build a multimedia graphic where parts are dynamic (i.e. they change from red to green to indicate stopped execution of State respectively).  Some graphics that I found that is a tank with level controls and I intend to use these but I need to draw my own graphics and make them animated.  Most will be two binary States (i.e. red green) simple changes.

    I found the 'Pixmap.vi flattened draw' and have used it to make a simple graphical change of two States (see attached vi).  The problem I have is that I don't want the border to be shown in the graphic image and I want to make the background transparent.  I've saved the file .jpg with transparent backgrounds but they come out with a white background.

    Can anyone provide some simple explanations and advice please.

    Concerning

    Bunnykins,

    Use the tool Palette. Go to the color tool. Click on the squares of color in the palette, and then assign the Foregraound and the background of transparent colors (white box with T top left when the color window is visible). Click the tool both on substance and on the border. Sometimes you may need to try several times on the border ge the exact position for the click.

    Note that this makes it difficult to find the control, so make sure it's in the position you want and as you like before you make it transparent size.

    Lynn

Maybe you are looking for