Clearing TextFlow selection

How can I forcibly clear all selections and caret cursors from a TextFlow?  There are no methods in SelectionManager that accomplish this.  SelectionManager.selectRange() selects a range - but how do I unselect EVERYTHING?
I need to force a TextFlow (ie. associated Containers) NOT to show any selections or caret cursors.  I only want one TextFlow to appear to have keyboard focus.
I have an application with more than one TextFlow on the screen.  Everything works fine when I test the application in the browser (apart from a small problem setting focus initially - that doesn't happen in AIR), but when I build it as an AIR application I get multiple flashing carets or selections on the screen.  One for each TextFlow.

selectRange(-1,-1) clears the selection.
Richard

Similar Messages

  • How to clear the selected values in the JCombobox

    Hi All,
    Can you please tell - how to clear the selected values in the JCombobox
    I have four dropdowns in my application, When I click "CLEAR" button, what ever the values selected in the four drop downs should go off and view as "SELECT" in all the dropdowns.

    In addition to the above you should also check out [Combo Box Prompt|http://www.camick.com/java/blog.html?name=combo-box-prompt] which makes it easy to display the default prompt.

  • Clearing of selections screen

    Hi!
    I wanted to asked how to clear a first screen of selections screen ( contains Parameters ans select options )  from another scrren ?
    I created an ALV report. The first screen of the report is a selections screen that contains select options and Parameters. The Alv was created by Object oriented method (not by the function 'reuse_alv_*' ) in
    a second screen. I want from the second screen on certain circumstances to leave the alv screen and to set the first screen ( that contains select options and Parameters ), however when i call the first screen i want to clear all select options and parameters, and my question is how to clear all select options and parameters before i leave to the first screen ?
    thanks
    moshe

    Hi Moshe
    Just I said in my answer you can't do a CLEAR statament in that point of your code, because the system manages the return of old data in selection screen.
    The system do what importing old data from ABAP MEMORY in the event INITIALIZATION, so or you clear the ABAP MEMORY or you clear the selection-screen in the event AT SELECTION-SCREEN OUTPUT.
    You can try this:
    IF g_it_d_data[] IS INITIAL.
    CALL FUNCTION 'POPUP_FOR_INTERACTION'
    EXPORTING
    headline = text-011 " 'Information'
    text1 = text-010
    ticon = 'I' " 'No data was found for
    " the selection criteria.'
    button_1 = 'OK'.
    here i need to clear parameters and selects option
    before leaving to screen 0
    FREE MEMORY.
    LEAVE TO SCREEN 0.
    ENDIF.
    or you place FREE MEMORY statament in INITIALIZATION.
    INITIALIZATION.
    FREE MEMORY.
    You can try to use CLEAR and REFRESH statament in AT SELECTION-SCREEN OUTPUT.
    AT SELECTION-SCREEN OUTPUT.
    Only first time
    CHECK FL_FIRST = SPACE.
    FL_FIRST = 'X'.
    REFRESH <SELECT-OPTION>.
    CLEAR <PARAMETERS>.
    Max

  • Clear My Selections disable

    Hello Experts,
    Can we disable 'Clear my Selections' option on Page options of the dashboard.
    thx,
    parag

    Download Firebug to see how "Clear My selection works-loads"
    and then assign <style="display:none"> to dissapear...
    check forum + blogs...
    i hope i helped....
    http://greekoraclebi.blogspot.com/
    ///////////////////////////////////////

  • Set a combobox clear from selection

    Hi all,
    do anyone know how to set a combobox clear from selection (none of the value is selected) ?
    pardon me for using wrong words.

    Hi
    Set the datasource value of the combo box to nothing ("").
    If not using datasources, use this code at form startup.
    oForm.DataSources.UserDataSources.Add("dsUID", [type],[size]);
    oCombobox.Databind.SetBound(true, "", "dsUID");
    Use this code to set value to nothing
    oForm.DataSources.UserDataSources.Item("dsUID").ValueEx="";
    Thanks

  • How do you clear a select list in javascript?

    Hi,
    I've tried clearing a select list (after it has been populated) by
    html_GetElement('P_CAMPUS').value='';
    html_GetElement('P_CAMPUS').value=null;
    these clear the visible field but if you click it all the options are still there.
    I tried:
    html_GetElement('P_CAMPUS')=null'';
    It is probably a real easy thing... but I don't see it...\
    Thanks, BillC

    To delete all the options in the select/dropdown list, you go
    html_GetElement('P91_SELECT').options.length=0;

  • Automatic "Clear my Selections" (script provided)

    Hi everyone,
    I didn't find anything useful on the Internet apart from creating a "Clear my Selections" button (not so friendly for the user): using jQuery I've been able to create a small script that enables you to automatically clear the selections of a dashboard if you're coming from a dashboard that is not itself (otherwise it'll refresh continously). Here you can find the script:
    <script src="yourserver\jquery-1.4.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
         $(document).ready(function() {     
              var r = document.referrer;
              if(r != "http://yourserver/analytics/saw.dll?Dashboard")
                   return PersonalizationEditor.removeDefaultSelection(false);
    </script>
    Just add it in a Text dashboard object and remember to use the "HTML content" flag!
    Hope this helps someone who had similar issues.
    Regards,
    Alberto
    Edited by: Alberto Vaghi on 29-giu-2010 8.32
    Edited by: Alberto Vaghi on 29-giu-2010 8.32

    ok, below is the script i am using in Textbox Dashboard object on my dashboard:
    <html>
    <head>
    <script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function);
    function()
         var r = document.referrer;
         if(r != "http://hs3piwm29:9704/analytics/saw.dll?Dashboard")
              return PersonalizationEditor.removeDefaultSelection(false);
    </script>
    </head>
    </html>
    Suppose i have three Tabs(say : A, B and C). In A Tab I am having dropdown prompt having two values. So what i want is that whenever i visit Tab A from any of the Tab X,Y Zee. That prompt get clear automatic and set default value. It should not show the previous selected value. hope this scenario helps you to understand my problem.
    It will be good for me if you send me ur email address. We can have a conversation over there. if possible you can give me a call at +91-9213626363 or +91-9560926363 my name is Mohammad Rafi Ansari or tell me your no i will call you.
    Thanks & Regards
    Mohammad Rafi Ansari

  • 015: Clearing Transaction:Selection Using Assignment

    Hi Experts,
    I am getting error while importing Electonic Bank Statement through transaction Code S_PL0_09000467 - Convert with DME Engine
    The format tree we are using Multicash
    My configuration is as follows
    1) Financial Accounting-Accounts Receivable and Accounts Payable-Business Transactions-Business Transactions-Electronic Bank Statement---Make Global Settings for Electronic Bank Statement

    It seems that you have taken the logic as 015: Clearing Trabnsaction : selection using Assignment in "Assign External Transaction Types to Posting Rules" and you are not passing the values for the assignment filed.
    Either you have to change the clearing rule logic or you have to incorporate the assignment in your cash format.

  • Clear UITableView selection

    Hi, in my iphone App, I have a UITableViewController which is popped up from my main view with presentModalViewController. Tapping on an item in the Table View results in the item becoming highlighted, and it goes back to the main page. However, if I pop up the Table View again, my previous selection remains highlighted. This is not what I want. How can I clear any selection when the Table view show up?

    Use the following code in second UITableViewController (the one where you select a row):
    - (void)viewDidDisappear:(BOOL)animated {
    [super viewDidDisappear:animated];
    [self.tableView deselectRowAtIndexPath:[self.tableView indexPathForSelectedRow] animated:NO];
    Andreas

  • Need to clear last selected prompt values while refreshing webi report

    While using ALL within cascading prompts its  still showing the last prompt values selected  in infoview and not while editing and trying to run webi reports.
    Is there any way to clear this?
    I have implemented following options to resolve but did not work
    1) Delete the .lov files of universe.                                                                               
    2) Delete the contents in data folder by going into storage directory
    3) Implemented the non_persistent concept in prompts
    Code is as follows for the filter with in universe
    @Select(Customised LOV\State) = @Prompt('Select State','A','Customised LOV\State',mono,free,Not_Persistent,,)
    or
    'ALL' = @Prompt('Select State','A','Customised LOV\State',mono,free,Not_Persistent,,)

    Hi,
    In Web Intelligence, the Query Filter Condition consists of 3 parts:
    - Object on which condition is applied
    - Operator (=,<,>,matches pattern, etc)
    - Operands (constant, LIst of Values, etc)
    You will find a button with a "?" sign which is also called as Prompt properties. When you click on this button, a new window will open and in this you have an option for "Keep last values selected" which is checked by default.
    Uncheck this check box --> Click OK. Run the report and save --> Relaunch InfoView to avoid any caching problems.
    Hope this works for you
    Sheeba

  • F-03 Account Clearing Not selecting docs

    Hi,
    I have open items in a B/S account which is open item managed and I am able to see all the documents and the balances are tallying.
    I want to clear all the documents thru tc.F.03, but in F-03 all the documents were not selected and there is amount shown in 'not assigned'.
    Kindly let me know what maybe the reason for not selecting the few documents and how to clear all the documents.
    Thanks
    Sur

    Hi
    Check the status of docuemnts which are not coming in clearing trancation, whether that has already  been cleared in post date.
    The reason might be that the document which are not coming in clearing have already been cleared in post dated, where as you are doing clearing in current month.
    Thanks
    GG

  • How to clear all selection screen parameters before calling transaction?

    Hi Experts
       I have a ABAP report that displays data using ALV.
      When I double click a cell it calls transaction MB51. Before calling the transaction I need to set some parameters of the selection screen  of the transaction.
      My code is like below:
      <UL>
       <LI>FREE MEMORY ID 'MAT'. <I>"material</I>
       <LI> FREE MEMORY ID 'WRK'. <I>"plant</I>
       <LI> FREE MEMORY ID 'CHA'. <I>"batch</I>
       <LI><I>* Get the selected ALV row data</I>
       <LI>READ TABLE i_recon INDEX p_selfield-tabindex INTO x_recon.
       <LI><I>*   If link MB51 is clicked then open tcode MB51</I>
       <LI> IF p_selfield-sel_tab_field+8(4) = 'MB51'.
       <LI><I>*   Pass material, plant to the corresponding tcode</I>
       <LI>       SET PARAMETER ID 'MAT' FIELD x_recon-matnr.
       <LI>       SET PARAMETER ID 'WRK' FIELD p_plant.
        <LI>      CALL TRANSACTION 'MB51' AND SKIP FIRST SCREEN.
    </UL>
    The problem is:
    <UL> <LI> 1. First, I run the given transaction before running the report in a separate session with some set of values in the selection screen. For example: plant = AB01, Material = 990001 and Batch = 10001.</LI>
    </UL>
    <UL>
            <LI> 2. Then in another session I run my report. In the report ALV I have selected a record where plant = AB01, Material = 990001 but Batch is blank. But it opens the transaction with plant = AB01, Material = 990001 and Batch = 10001.
    Even though in my ALV record the batch is blank yet it uses the batch value from the memory. That is, the batch value that was given in the transaction earlier. Why it is not getting cleared? I have also used FREE MEMORY ID code in the beginning. But still it is not clearing the values in the memory.
    </UL>
    <UL>
            <LI>What shall I do to clear all the selection screen parameters before calling the transaction?</LI>
    </UL>
    <UL>
            <LI>
    Thanks
    Gopal
    </LI>
    </UL>
    Edited by: gopalkrishna baliga on Aug 11, 2010 10:29 AM

    Its because sap memory is globally shared.
    Do it like this.
    READ TABLE i_recon INDEX p_selfield-tabindex INTO x_recon.
    IF p_selfield-sel_tab_field+8(4) = 'MB51'.
    perform bdc_dynpro      using 'RM07DOCS' '1000'.
    perform bdc_field       using 'BDC_OKCODE'   '=ONLI'.
    perform bdc_field       using 'MATNR-LOW'  x_recon-matnr.
    perform bdc_field       using 'WERKS-LOW'  p_plant.
    perform bdc_field       using 'CHARG-LOW'  p_batch.
    perform bdc_field       using 'DATABASE'  'X'.
    call transaction 'MB51' with i_bdcdata mode 'E'.
    endif.
    form bdc_dynpro using program dynpro.
      clear la_bdcdata.
      la_bdcdata-program  = program.
      la_bdcdata-dynpro   = dynpro.
      la_bdcdata-dynbegin = 'X'.
      append la_bdcdata to i_bdcdata.
    endform.
    form bdc_field using fnam fval.
        clear la_bdcdata.
        la_bdcdata-fnam = fnam.
        la_bdcdata-fval = fval.
        append la_bdcdata to i_bdcdata.
    endform.

  • Firefox form fields do not clear when selected (i.e., "Enter Zip Code" should disappear when clicked). Has to be erased in vers. 8 & now 12

    I just upgraded from vers. 8 to 12 in order to fix this.
    Can't remember when this started, but it was mid version, not due to an update.
    At first, I thought vendors programmers were getting lazy, but then realized it was too prolific.
    Firefox form fields must be erased manually, after entering -- should go blank as soon as selected.
    Is this a setting I am missing

    In some cases, the temporary ("placeholder") content is inserted by a new method available in HTML5. This page has some boxes you can use to test whether this new feature is working in your Firefox.
    [http://www.html5accessibility.com/tests/placeholder-labelling.html HTML5 placeholder attribute tests] (please ignore the discussion about bugs)
    In other cases, the site may be using a script to clear the temporary content as soon as you click the box. This is necessary to support older browsers. If you block JavaScript on the page -- either by unchecking the Enabled box in the Options/Content tab or using the NoScript add-on -- then the temporary content will not be removed. However, if you are not blocking JavaScript, then the problem could be (i) the site's scripts or (ii) a conflict with another add-on, perhaps one that relates to automatic form filling.
    Can you give an example of a page where this is a problem?

  • ICR - Reconciliation Program - FBICS3 - Open/Clearing items selection

    Hello Experts,
    i have a customer open items which is selected when i am executing program FBICS3 and FBICA3.
    When i am making an incoming payment which cleared my customer open items. i executed again FBICS3 and FBICA3.
    The consequence is that my customer line item (cleared) disappeared from my ICR Ledger.
    Is it the standard behaviour of the system ? what is the logic behind this ?
    Because i could have a vendor line items which is cleared and the corresponding customer line item which is not cleared. Then, how do i reconciliate my customer line item in FBICR3 ?
    Thanks for your help,
    Nicolas GORECKI
    FI consultant

    Hello Nicolas,
    Yes, that is intended standard behaviour. You are - after all - reconciling open items for a key date. A cleared item is not an open item. That is why it is deleted from ICR.
    ICR is supposed to help you get an overview over the differences that exist in your intercompany relationships. If the payment has been posted on one side but not on the other this creates a difference. If the customer and the vendor line items were included in the process although one of them has been cleared in the meantime you would not find all the differences there are....
    Ralph

  • FB05 Clearing with Selection Criterion

    I'm doing manual bank reconciliation through FF67, after entering all the payments and receipts i'll save the statement then post the statement.
    It gets posted but i need to go to SM35 and run the batch input session then only the real postings take place reconciling the payment and receipts.
    When i do that it is clearing the deposit items correctly but when it comes to payments it is coming and sitting in open items selection screen, so i have to deselect all the items and select only that amount which i need to clear.

    Dear,
    In the payment clearing the system is using either document date or posting date, if you able to run the batch input session in the foreground then you will be able to see how the system is clearing the documents.
    If the system is using document date then you can see all the open items pertaining to that date will be appearing for clearing in which you have to deselect all the documents and select your required document for clearing.
    In deposit clearing the system may be using document number for clearing.

Maybe you are looking for

  • Error while creating Adaptive WS Model

    Hi All, I am trying to create a adaptive ws model out of a wsdl file. The file stored locally on my machine. While creating,it gives an error as Error in loading the WSDL file. Check error log When I checked the error log, these were the last entries

  • I have a cookies problem!

    I have enabled my cookies correctly and gone through all the troubleshooting guides, but cookies are still not working properly and many websites are not working, saying I need to enable cookies. Some websites will not even allow me to log in. I'm st

  • Asset budgeting through Statistical WBS

    Dear Experts, I have configured and assigned Statistical WBS to Asset to carry out active budgeting. To my knowledge I have configured all relevant configuration but when I create PR over this Asset, WBS field is not updated in the PR and therefore n

  • Where do I get xmlbeans.jar?

    Hello, I have the WLS8.1 beta, and I'd like to try some sample code. Where is this jar?

  • Applications for creating fillable forms

    I work for a real estate agent and we need to be able to either create a form or scan an existing one (that we previously hand wrote on) and create fillable fields in this form. I need to be able to e-mail them to the office when they are completed f