Modify the textArea component

i need some help on how to modify the textArea component so
that the scrollbar, sidebar and up/down arrow hit states are black.
is there any script that i can write to change to these colors
unstead of using the default component (silver) color that
macromedia has.

By defining them in the class and using the class name under component definition:
[Inspectable(name="Text", type=String, defaultValue="")]
public function set text(setText:String)
     textArea.text = setText;
public function get text():String
     return textArea.text;
A problem I run into is that the compiler errors prevent the parameters from being defined so I comment out every line that has to do with textArea, define the component, then uncomment them so that it'll work when it runs.

Similar Messages

  • IW32 - RESBD-MATXT - modify the material/component description

    Hi All!
    I have a requirement: in tcode IW32 the user have to have the possibility to modify the description of the material/component (RESBD-MATXT). I modified the screen SAPLCOMK-3010 and SAPLCOMK-3020 in order that the field RESBD-MATXT is Input/Output but if I change the component/material description the system overwrites the modification I made with the content of the field MAKT-MAKTX.
    This functionality exists in tcode VA02 but I don't know how to make the same functionality for the IW32 tcode.
    Any idea would be helpful for me.
    Thanks.
    Florina C

    Hello Florina,
    We have exactly the same problem as you. Did you find the solution to your problem?
    Thank you,
    Óscar

  • How can I access the content of a textarea component?

    I'm trying to use a javascript form editor in my jsf project.
    The form editor writes to an html <textarea> component.
    The jsp page looks like this:
    <div style="height: 336px; left: 0px; top: 0px; position: absolute; width: 672px">
    <script language="javascript" type="text/javascript">
    tinyMCE.init({
    mode : "textareas",
    theme : "advanced",
    </script>
    <textarea cols="50" name="content" rows="15">This is some content that will be editable with TinyMCE.</textarea>
    </div>
    The content of the <textarea> component is changed with the editor.
    What I need to do is capture that content after it has been edited.
    How can I do that??
    Thanks

    I have a similar problem. When I try to watch the rented movie a pop up says "Cannot Open: The content is not authorized"     What exactly is the problem. I'm not in the US at the current moment. I'm in France. But that shouldn't be a problem right?

  • A few questions about using an XML file to add text into a TextArea component set as html

    I'm using AS2 in Flash CS3.
    I have a TextArea component in the stage that's loading its text from an XML and I've been able to use the ul and li tags to create lists. However, when I try to include a nested list it just inserts a line break between the nested list and the main list rather than indent it further. Is there a solution for this issue?
    Failing that, how would I be able to add non-breaking spaces into the XML so they will render inside the TextArea component? I've tried   and &#160; without success. I scoured the net for some help with this and found some information about modifying the font embedding xml file with a new entry for the non-breaking space and that didn't work either, so that leaves me somewhat stumped.

    flash doesn't handle nested lists (as you now know).  you can work-around that limitation using css and creating your own indent styles.  css have a marginLeft property you can use.

  • TextArea component AS3

    I'm having trouble both working out or finding out how to
    apply an imported css file to the CS3 TextArea component. I've
    frequently done this in AS2 using Flash 8, but that code no longer
    works. If anyone knows could you please let me know. Here's the AS2
    code I've used previously:
    private function loadCss(){
    var myStyle = new TextField.StyleSheet();
    myStyle.load(this.CssPath+".css"); // the CssPath variable
    here was supplied within an object passed through to the
    constructor
    textArea.styleSheet = myStyle;
    loadXml();
    }

    Thank you Anirudh,
    I have been using the TextArea component because it has code to handle scrollbars, and in Flash this component is a wrapper for a TextField object. As far as I can see this is not the case in Flex, and my AS3 code sets almost all of the TextField attributes, so I probably can't use Flex and the Flash Builder anyway. At least not without throwing all my code away.
    Besides, the .swf file generated seems to be much bigger than in Flash.

  • TextArea component wont word wrap.. help!

    I cant seem to get the TextArea component in Flash 8 to word
    wrap. I've set the word wrap parameter to "true" but it will not
    word wrap. It just puts all the text in one line. How do you fix
    this? Also, is there a way to control the font size in the TextArea
    component?
    Thanks!

    ad 1. sorry but in my instance true is set by default to word
    wrap option and it works.
    ad 2 instanceName.setStyle("fontSize",24)
    u can learn more about TextArea by lookin to the script below
    ( its just an example):
    function setStyles(instance) {
    instance.setStyle("themeColor", "blue");
    instance.setStyle("color", "blue");
    instance.setStyle("fontFamily", "Courier New");
    instance.setStyle("fontSize", 12);
    instance.setStyle("fontWeight", "bold");
    instance.setStyle("backgroundColor", 0xDDE0FF);
    instance.setStyle("borderStyle", "alert");
    setStyles(myTextArea);

  • TextArea component scrollpolicy being ignored

    The scroll policy for the textArea component appears to be "auto", and that works just fine.
    However, I want to be able to turn it off in certain situations, i.e., not have the scroll bar appear.
    I do the following which I thought would turn it off but the scroll bar still shows up.
    Any help would be appreciated.
    Code Snippet:
         myTF = new TextFormat("Arial", 10,  0xFFFFFF,false);
         myText_mc.myTextArea.setStyle("textFormat", myTF);
         myText_mc.myTextArea.verticalScrollPolicy = "OFF";
         myText_mc.myTextArea.horizontalScrollPolicy = "OFF";
    Thanks,
    Vivian

    should be all lower case
      myText_mc.myTextArea.verticalScrollPolicy = "off";

  • ActionScript file using TextArea component

    I have been developing applications in Flash CS5, but I coudn't stand the completely useless code editor any more, so I have installed the Flash Builder instead.
    The problem I'm having now, is that I have an AS3 class that uses the TextArea component. But if I make an ActionScript project, I cannot import the TextArea class as FB doesn't seem to know about it. And I know nothing about Flex, so if I make a Flex project, I have no idea of how to combine my AS3 class with the TextArea component.
    I am amazed - I thought that would be ridiculously simple, but I have been browsing Adobes sites for days now, and I'm not an inch closer to any solution.
    Anyone knows something to help me?

    Thank you Anirudh,
    I have been using the TextArea component because it has code to handle scrollbars, and in Flash this component is a wrapper for a TextField object. As far as I can see this is not the case in Flex, and my AS3 code sets almost all of the TextField attributes, so I probably can't use Flex and the Flash Builder anyway. At least not without throwing all my code away.
    Besides, the .swf file generated seems to be much bigger than in Flash.

  • Autoscrolling a TextArea Component

    Hi all,
    Is there a way to get a TextArea to automatically scroll down when text is added to it?
    I have had a look around but havent found anything that works.
    Thanks
    Brien

    RossRitchey wrote:
    where my_ta is the name of the TextArea component (AS2)
    my_ta.vPosition = my_ta.maxVPosition;
    for AS3:
    my_ta.verticalScrollPosition = my_ta.maxVerticalScrollPosition;
    Thanks dude. That worked perfectly. I'm using AS2.0 at the minute and CS3.
    I was trying textarea.scrollTop = textarea.scrollHeight;
    but it wasnt working
    Thanks again dude

  • $_POST  textArea component font size

    I have not seen anything on this, could someone help me out.
    I have textArea component (and even tried a dynamic and input
    text field) that I input text into and
    $_POST to a php file that sends the variables to me in email.
    Simple enough, right.
    Ok, well when I send to the PHP and have it "echo" to the
    stage it's HUGE also in my email it's big.
    my other INPUT components that I have set up for name and
    such are the right size.
    I have a feeling it's nothing to do with the PHP but with the
    varible info. being sent to it
    using the textArea component. Does anybody know what's going
    on?
    Oh, the dynamic and input text fields (not components) that I
    use don't even $_POST.
    Thanks for any help.
    Sky

    We have been trying to figure this problem out. Still no answer but it appears to having nothing to do with TextArea or embedding fonts. I have an old text field which displays 10pt Arial as 10pt Arial. If I create a new text field in the same symbol, on the same layer, or another layer, with the same exact properties, 10pt Arial, the new text field displays the font in something smaller, more like 7 pt. If I copy the old text area it stays correct as 10 pt.
    Several people have looked over all properties that we can think of and as far as we can tell the two text fields are exactly the same except they display the font smaller (and it can be another font, they all come out too small). During one exploration something was done, which we can't duplicate, that "fixed" the Flash so that a new text field displayed the correct font size. We were using the same file (which we hadn't saved).
    Any help would be appreciated. I will update here if we locate the problem. Thanks!

  • Problem when modifying the jar file of a portal component

    I get the umelogonbase.jar from the com.sap.portal.runtime.logon component, extract it with winzip, do not make any changes to the source code, then re-create the jar file and add it back to the component. Now, when I deploy the component to the Portal I get the following error:
    "Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sap/security/core/logonadmin/IAccessToLogic.
    Exception id: 10:30_08/08/07_0012_15067450
    See the details for the exception ID in the log file"
    any idea what I am doing wrong here?
    I am doing this because I need to change the texts in the umelogonbase.jar, so this is the first step to see that the component still runs once I modify the jar file.
    Note: I create the jar file by creating a jar-type project in NWDS and then exporting the project as jar.

    Do you have JDK installed? If not then please install it by downloading from http://java.sun.com/j2se/1.4.2/download.html. Install it in your local machine. Then inside the installation folder\bin folder you will find the jar.exe.
    Also create the environment parameter named JAVA_HOME and set the value as the installation directory of JDK for example JAVA_HOME=C:\j2sdk1.4.2_13. Also add the following to your Path environment variable
    C:\j2sdk1.4.2_13\bin;C:\j2sdk1.4.2_13\lib;
    these path names should vary depending upon your actual JDK installation folder name.
    Regards,
    Shubho

  • Can we dynamically modify the Component Hierarchy?

    Is it possible to modify the component hierarchy in JSF when making an Ajax call to the server for information?
    I am interested in using Ajax with JSF to update the UI incrementally as needed.
    As an example, imagine a phone book which starts with a list of names. When one clicks on a name, Ajax is used to get the data for that name (i.e., address, phone numbers, etc), and the data is then returned to the client and inserted into the DOM in the client browser under the approprtiate user. This information could be editable. Clearly, as part of this process, I would like the component hierarchy in JSF updated with the new data, also.
    I konw that we could do a complete postback of the entire page plus the new data, and then diff it out on the client (as per the methods outlined by Jacobi and Fallows in Pro JSF and Ajax: Building Rich Internet Components). However, I am wondering if it is possible to update the Component Hierarchy with the new components associated with the new data during the Ajax call, so that we can focus our Ajax request on the needed data only, rather than having to regenerate the entire page.

    Hi wua22,
    For my case, I found that if an attribute called "userPassword" is added in the Schema Manager, after running the above codes which I quoted, it seems that nothing changes since next time when you log on, it can only be authenticated using the old password. However, in this case, actually, the change was made in the ADDED attribute, "userPassword". You'll find where the change made if you have the admin right to check the properties of the users' account using ConsoleOne (or similar tools).
    In addtion, for the exception I encountered in my case, I found that everythings go normally if that ADDED attribute "userPassword" is deleted. So, this time, it's the setting in my LDAP server which caused the problem, but not the programming error.
    BTW, someone suggested that using UnicodePwd attribute, instead of the userPassword for updating one's password. This UnicodePwd attribute is unicode converted. I've not tried on that actually, but will at a later time.
    Hope that helps to you.
    Regards,
    Mercury

  • Add a custom event wihtout modifying the standard in a component controller

    Hello,
    We are currently working on an enhancement in the DPR_SEARCH component. We added through an enhancement a custom button, with a specific action. Then we would like to fire an event to other components (cross-controllers interface), but we are not able to add the event definition in the DPR_SEARCH component controller, wihout modifying the standard.
    Does anyone know if it's possible?
    Thank you.
    Matthias

    Seems not possible...

  • Modifying the component tree in FacesListener

    Hi,
    I want to modify the component tree of every page that is accessed within my JSF application. For example, say I want to remove one component(id is known) from every page that is accessed. Obviously, I don't want to edit the page manually.
    I wrote and configured a FacesListener which will be executed during the RESTORE_VIEW phase. In the afterPhase() method, I get the view root from FacesContext. I traverse down to the component with the given Id and remove it from its parents child list. But it doesn't get removed. The component is rendered. Even trying to chage its value or adding a new component doesn't work. Basically any modification done to the tree after the RESTORE_VIEW phase in the FacesListener is not reflected in the rendered output.
    Is it the right phase to modify the view?
    Thanks,
    Siva

    There is a typo in my question. I mean PhaseListener not FacesListener.
    Siva

  • How to get the text of the textArea ?

    Hi, expert
    i have created a new component com1,
    then i created a table view name 'result'.
    then i add a textarea by modifying the result.htm
    textArea id     = "TAMSG"
                     text   = "test......"
    then i add a button in the result.htm
    the method of the button is  'EH_ONSENDMSG'
    then i input some text into the textArea on the page.
    now, how can i get the text of the textArea in the method 'EH_ONSENDMSG' ?
    thanks.
    oliver.

    Hi,
    problem was solved.
    i put the text into a value node.
    <thtmlb:textArea id     = "TAMSG"
                     text   = "//TEXT/TEXT2"
                     encode = "TRUE"
                     width  = "100%" />
    method EH_ONSENDMSG.
      DATA lr_col_wrap      TYPE REF TO   cl_bsp_wd_collection_wrapper.
      DATA lr_query_values  TYPE REF TO   if_bol_bo_property_access.
      DATA lv_str_msg TYPE string.
      lr_col_wrap = me->typed_context->text->get_collection_wrapper( ).
      lr_query_values ?= lr_col_wrap->get_current( ).
      lv_str_msg = lr_query_values->get_property_as_string( iv_attr_name = 'TEXT2' ).
    endmethod.
    regards.
    oliver.

Maybe you are looking for