Behavior of the focus Forms 11 g

Hello...

In forms 10g when we click on a text element, the text in this field is automatically selected. It doesn't go to 11g. Is this a bug or what?

Concerning
Ricardo

Due to the complaints of clients one way or another, this behavior has changed several times over the years. If you want to make sure that all the text is selected upon entry, create a trigger ONCE - NEW - ITEM - INSTANCE and add this code:

SELECT_ALL;

Tags: Oracle Development

Similar Questions

  • Tab behavior of the focus in the search of selected text

    In versions previous to Firefox, when I selected some text on a Web page, right click on the text for the menu popup and click on the option 'Search' (search Google for "my text selection") tab that currently has the focus would stay focused and a new tab would be launched to manage appropriate search in the background. Since I updated to Firefox 13, the new tab now receives focus when I do a search on the selected text.

    How can I switch to the old behavior? This change in functionality is driving me crazy. When you read a Web page, I often like to select words and phrases I need to learn more and search Google or Wikipedia via the context menu. I almost always like to finish reading the current page before going off to read the new tabs. Even if I did intend to stop reading the current page, and go to the new tab, there are often several seconds to ensure that the new tab to load and I prefer to keep the page being read and manually switch the new tab that watching a blank tab while I wait for it to load.

    In the "Tabs" window tab options, there is a check box for "When I open a link in a new tab, switch to it immediately." Is there something like that for the new tabs launched by a search from context menu?

    Thank you!

    Hey bob, you can enter Subject: config in the address bar of firefox, confirm notification of information (where it appears), search for the preference named browser.search.context.loadInBackground & switch true by double-clicking it. that should bring back the old behavior...

  • Insert and update server behaviors in the same form

    I have a php form that is inserted into a table and then update another table. I have the form of inserting the record first and then I want to update the other table. I'm starting to learn and understand PHP, but I don't know how to have the update function to run after that it inserts the records. I guess that's something like if you insert this disc, then update this record and then go to the redirect page. I know this goes to redirect page after it inserts the record, but I don't know how to tell him not to go to the $insertGoTo. I want him to run the following update function and then go to the $insertGoTo and not the $updateGoTo. Thanks in advance for any help.

    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO employee (CompId, empfirstname, empmiddleint, emplastname, EmpType, EmpStatus) VALUES (%s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['CompId'], "int"),
                           GetSQLValueString($_POST['empfirstname'], "text"),
                           GetSQLValueString($_POST['empmiddleint'], "text"),
                           GetSQLValueString($_POST['emplastname'], "text"),
                           GetSQLValueString($_POST['EmpType'], "text"),
                           GetSQLValueString($_POST['EmpStatus'], "text"));
      mysql_select_db($database_dotweb, $dotweb);
      $Result1 = mysql_query($insertSQL, $dotweb) or die(mysql_error());
      $insertGoTo = "Roster.php?CompId=" . $_POST['CompId'] . "";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      }
      header(sprintf("Location: %s", $insertGoTo));
    }
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
      $updateSQL = sprintf("UPDATE company SET CompanyType=%s WHERE CompId=%s",
                           GetSQLValueString($_POST['CompanyType'], "text"),
                           GetSQLValueString($_POST['CompId'], "int"));
      mysql_select_db($database_dotweb, $dotweb);
      $Result1 = mysql_query($updateSQL, $dotweb) or die(mysql_error());
      $updateGoTo = "purchases.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
      }
      header(sprintf("Location: %s", $updateGoTo));
      
    }
    
    

    PHP code is executed from top down and is controlled by the conditional statements ('if' blocks). To achieve what you want, you need to combine the conditional statements that control the insert and update server behaviors and to move the redirect to the end of the code. Amend as follows:

    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO employee (CompId, empfirstname, empmiddleint, emplastname, EmpType, EmpStatus) VALUES (%s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['CompId'], "int"),
                           GetSQLValueString($_POST['empfirstname'], "text"),
                           GetSQLValueString($_POST['empmiddleint'], "text"),
                           GetSQLValueString($_POST['emplastname'], "text"),
                           GetSQLValueString($_POST['EmpType'], "text"),
                           GetSQLValueString($_POST['EmpStatus'], "text"));
      mysql_select_db($database_dotweb, $dotweb);
      $Result1 = mysql_query($insertSQL, $dotweb) or die(mysql_error());
    
      $updateSQL = sprintf("UPDATE company SET CompanyType=%s WHERE CompId=%s",
                           GetSQLValueString($_POST['CompanyType'], "text"),
                           GetSQLValueString($_POST['CompId'], "int"));
      mysql_select_db($database_dotweb, $dotweb);
      $Result1 = mysql_query($updateSQL, $dotweb) or die(mysql_error());  
    
      $insertGoTo = "Roster.php?CompId=" . $_POST['CompId'] . "";
    
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      }
      header(sprintf("Location: %s", $insertGoTo));
    }
    
  • (Beginner) Impossible to validate the behavior of the form access

    I made html for about a month (and Dreamweaver so long too)

    In my first attempt to use Javascript, I cut and pasted many validation scripts Online and nothing has ever worked during their use in several fields. Then, I tried the behavior of the form validate exactly as described in a book by Dreamweaver and found the form to validate option is grayed out.

    The form is simple. I have two drop-down lists and a "submit" button. One of the lists is built using PHP. I tested the form without validation and it works fine.

    I also tried to add a new form and the validate option is available. It is as far as I'm away.

    I'm looking for some information as to why the option is grayed out. Who can tell me why the other scripts did not work.

    Thanks in advance for any ideas.

    ==============================

    Thanks for your help Murray,

    When I say 'By the Book' I speak somewhat metaphorical. But the steps I mentioned are in Teach Yourself Dreamweaver of the Sam in 24 hours (a popular book by a popular editor).

    Similarly, if (using the toolbar for simplicity and accuracy) you create a form, add a text field inside, and then add a button "submit" on the inside, you can select the button in design mode and then the option validate form will be available.

    But more specifically, you can click anywhere in the body and the option is available and can be applied to any form on the page.

    When I add the other shapes on the page, the option validate form is available for them, but never available for the form that I originally listed here.

    Also, I have validated all the tags.
    ============================

    Now, before this announcement, I did several tests and found the answer. This function performs the validation of TEXT fields.

    Mystery solved!

  • Set the focus to select the list in table form?

    Version 4.1.1

    Hello

    I have a tabular presentation that has a display column in the first field, the date field, and then a selection list.

    When the user clicks the button add_row, is it possible to have the focus of cursor by default on the selection list or at least the date field?

    I tried a few suggestions listed in this forum, as the addition of it to add line javascript

    $('select:enabled:visible:last').focus ();

    and a little more. but they do not work.

    Any suggestions please? or this is not possible?

    Thank you
    Ryan

    ECHR wrote:
    Hi Ryan,

    If you know what the column number has the selection list, you can use this snippet of javascript after the AddRow:
    Assume that the selection list is the 3rd column

    $('input[name="f03"]').last().focus()
    

    It won't work, if f03 is a selection list that the selector must be

    //try
     $('select[name="f03"]').last().focus()
    
  • Setting the focus point as an array

    Greetings all -.

    I have a tabular form, I created manually using application_item.text (...), where I put the parameter p_item_id concatenated with ROWNUM (IE "f16_" |) ROWNUM), when an amount field with an id of f_16 element and a comment field with an id of f_17 element.

    In a javascript onchange function, I try to put the cursor in the field (f_16) amount if the amount is less than or equal to zero. In my role, I have the following command;
    $f_First_field ('f16_1');
    However, if I erase the amount and the tab off the amount field, the cursor is placed in the field comment (f_17).

    Is it possible to focus on one item of tabular presentation.

    Help is greatly appreciated

    Concerning
    Mark

    Published by: bohnensm on August 30, 2010 07:56

    Hello
    You said

    However, if I clear the amount and tab out of the amount field the cursor is placed in the comment field (f_17).
    

    Where you want to go? As 17 is after 16 this is the behavior of the default browser, I guess. If you want to stop the update to nowhere or a certain range of values in f16, then you will need to write an onblur = stopCursor (this) on the elements of f16 in apex_item. And then write the stopCursor function in JS to send the focus on the same ground, i.e. f16_1 or whatever the ID.

    Kind regards

  • FF13 different behavior on the two machines home page

    FF gives different results than "Home Page" on both machines.

    On the desktop, I get my set (the former google/firefox one) homepage.

    On laptop, I have two tabs, the first of about: at home, the second is my fixed home page (the same old google/firefox one).

    On the desktop when I press home, page becomes whole-home page.

    On laptop when I press home, new tab is launched to give me my whole-home page.

    The behavior on the desktop is what I expect and what I want. Which continues with Notepad and how do I do the same thing as the Office?

    Check your settings on the laptop home page, you have inadvertently defined two pages as your home page...

    See - How to set the home page

  • Keep the Focus on the button after mouse click

    Hello

    I have a button in my VI that triggers a function. I would like to know how can I keep the focus on the button after clicking with the mouse over it? I ask that because I want that after the first click, the focus is kept on the button then I can activate the button with the space bar.

    I know I can hit the button with "tab" and then use SPACEBAR, or I can put another key to toggle this button.   But the behavior that I'm trying to get is: 'after the first click on the button for the first time, emphasis is stored on it and then I can use the space bar to activate the button.

    Ideas?

    Thank you.

    Dan07.

    I found the solution. Using a property node, set to True KeyFocus.

    Thank you.

    Dan07.

  • menu bar popup not working if the focus is on the control of the chain

    Dear all,

    I wonder if this is the behavior expected or if I'm doing something wrong:

    On a Panel, I have a control of the chain; on double click, I opened a file selection box to select a file, then the file name on this control of the chain. After this action, this string is the active control, indicated by the gray frame.

    I also have a menu with some defined keyboard shortcuts bar for example F2. It seems that F2 is not functional, long as the focus is on the control of the chain. It's embarrassing because the typical user action is selects a file and then pressing on Fx. To resolve this problem, the user should click somewhere on the Panel to move the focus to another control. Of course this could be done programmatically, but the extra effort is not to say necessary for controls ring or digital controls. Also in digital controls, I can change the numbers, but even if a digital control is the active control due to the edition of the F2 value works immediately.

    Help is appreciated.

    Thank you

    Wolfgang

    I think what is happening here is that left double click is also used to highlight the text. So when you trigger the EVENT_LEFT_DOUBLE_CLICK, you're placing the text in the control of the chain and then also accentuating. It seems to be behaving strangely when the two of them occurs at the same time because of the order of the events. You can see that the mouse around when, returning from the file select popup causes the region highlighting to drag over the text. In this highlight mode, you cannot use the shortcuts for the menu. I was able to solve this problem by swallowing the EVENT_LEFT_DOUBLE_CLICK after you set the value of the control.

  • How to remove the focus from the field of the custom label

    Hello

    I have a question on the subject to focus on fields. I did a registration form and added a label + image and text box on a vertical field Manager. but when I scroll through image and text box get the focus and disappear from my label.
    I took the custom label field and the custom text box.
    Help, please...

    protected void drawFocus(Graphics graphics, boolean on){paint(graphics);}
    
  • Keep the focus on the same button

    I have two vertical frames side by side. The left one has a few buttons and the right one has something else that is not active. When I click on the third button on the left, it is highlighted. If I do something on the right, the cursor automatically placed on the first button on the left. The behavior I want, it's the third button highlighting. The focus is changed only when I click on another button on the left.  At this time the focus is changed for the new button, I clicked.

    How can I keep a button on the left highlighted?

    Thank you

    If you have to setFocus on a specific button, you have to setFocus in a separate thread. Use this piece of code:

            protected void threadSafeCursorSetting()
            {
                PingerMain.getUiApplication().invokeLater(new Runnable()
                {
                    public void run()
                    {
                        listen.setFocus();
                    }
                } );
            }
    

    where listening is a button.

    Press the button Bravo thank the user who has helped you.

    If your problem has been resolved then please mark the thread as "accepted Solution".

  • Server behaviors > insert a record said before using this server behavior, please create a form.

    Wow,

    I feel frustrated now and way over my head, below I have attached the registration page created with the form created next to the image.  Then, I went 'Bindings' and select 'Recordset' for this page and name the Recordset 'register '.  Please, everything works fine it has access to my database and the table and creates the Recordset file named 'register' now I'm going to "server behavior" as it says in the tutorial and select "Insert record" I get a prompt indicating before using this server behavior, create a form.  But my form is sitting there in the middle of the page!  My head is about to explode here!

    insert record set.JPG

    Thank you

    Carl

    Dallas4664 wrote:

    David powers,

    You said that "the opening form tag is not a name or an id to the form.

    So in my source code it should be something like:

    Then all my above entry codes

    You could try that, although when I tested it I have been authorized to access the behavior "Insert record" without any id or the name of the form.

    DW has created for me:

    Therefore, this

    became:

    As already said I would not advise using DW server behaviors.

  • Strange behavior of the rectangle tool

    I drew a rectangle with the rectangle tool and got a form than of a conical label around the rectangle. Never seen that before and I could not duplicate once I opened the application again. This seems a strange behavior of the app, or is there something that I don't know this tool? Please tell me this is something lacking in my knowledge base. It drives me crazy

    Monika, yes it was. He worked with the forward Warp effect. Thank you for your response. Mental health is back thank you for your kindness

  • How to programmatically set the focus to one record other than the first condition in a block?

    My form runs the query on the block, and by default, it leaves the focus on the first record (top) in the block.  I would like to have it put emphasis on the last record in the block to the original query.

    I tried Last_record and go_record in a trigger post-bloc but these internal controls are limited and you cannot run message block triggers.  I see not all things property of block which could influence of it... either how can I do?  Thank you.

    I understand the answer to my own question... in the new block instance trigger, there is an execute_query statement and I simply last_record statement after...

  • Override the default behavior of the button Delete of list manager

    Hello

    Everyone please help. I'm trying to override the default behavior of the button Delete of list manager. The first thing, I want to restrict users to select only one option from the list to delete; meaning don't allow multiple options for users to remember. Before removing the selected option in the list; I want to perform a Javascript/AJAX validation on the database to check if the user has permissions to remove the option from the list. If the user has privileges simple delete option selected in the list. If the user does not have privileges and then draw the attention of the user with a message "not authorized...!  and this should occur when the user selects the option in the list to the list manager, and then click Remove from the list manager.

    Remove list manager of the shutter release button of the function 'deleteListElement ($x ('P3_LM_USES'))' on the onclick event. P3_LM_USES is my element of list manager in a form.

    I use the version of Oracle APEX 4.0.2 and Oracle 11 g R2 database.

    I was able to substitute the Add button functionality using the JS function below list manager and perform validation on database by using the method of ajax on request.

    {code}

    < script type = "text/javascript" >

    <!--

    This replaces the default manager of Apex lists which removes embedded spaces from the last item when it is added to the text box

    appendToList function (value, toList)

    {

    First of all, get rid of all spaces

    trimmedValue = value;

    var ajaxRequest = new htmldb_Get (null, & APP_ID, 'APPLICATION_PROCESS = VALIDATE_ADD_USE', 0);

    ajaxRequest.addParam('x01',trimmedValue);

    var ajaxResult = ajaxRequest.get ();

    Alert (ajaxResult);

    If (ajaxResult == 1)

    {

    Alert ('after alert ajaxResult');

    Then, divide the string separated by commas in a table

    valueArray = trimmedValue.split(",");

    for (i = 0; i < valueArray.length; i ++)

    {

    If (valueArray [i]! = ' ')

    {

    found = false;

    for (j = 0; j < toList.length; j ++)

    {

    If (toList.options [j] .value is [i] valueArray)

    found = true;

    }

    If (found == false)

    toList.options [toList.length] = new Option ([i] valueArray, [i] valueArray);

    }

    }

    }

    on the other

    {

    Alert ("you cannot add it" "+ theValue +'".) Please contact the administrator of the application. ") ;

    }

    }

    ->

    < /script >

    {code}

    I have this above function JS in a section of text of element the element of P3_LM_USES list manager post. Please help me with your suggestions for the button Delete.

    Thank you

    Orton

    Hello

    I was able to solve the problem by replacing the default functionality of the list manager delete button using a JS/AJAX process. FYI, here's the JS function.

    {code}

    function deleteListElement (toList)

    {

    Alert ("Hello in function");

    var x = $x ('P3_LM_USES');

    for (var i = 0; i)< x.options.length;="">

    {

    If (x.options [i] .selected is true)

    {

    Alert (x.options [i] .value);

    var ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=VALIDATE_REMOVE_USE',0);

    ajaxRequest.addParam('x02',x.options[i].value);

    var ajaxResult = ajaxRequest.get ();

    If (ajaxResult == 1)

    {

    var y = x.remove (i);

    alert (y + 'removed');

    }

    on the other

    {

    Alert ("you can't remove this" ' + x.options [i] .value +' "item in the list.) Please contact the database administrator.') ;

    }

    }

    }

    }

    {code}

    Thank you

    Orton

Maybe you are looking for

  • Models DVD

    Here, we are now in 2016 with reports to Apple software business model DVD cruelly lacking since 2006, never watch those discussions? I find strange ways in which very few companies supply of DVD models, either for just a one disc until disc DVD box

  • Satellite M115-S3094: which modem module should I use?

    Hello Please can someone help me solve what modem card is possible to build in this model?Laptop has no modem next card so I need to model or P/N to know what to buy. Thanks in advance Darko

  • Code error Windows Update 8024607 and 80070490

    Updates to security, kb967723, 970430, and 972145 failed to load. I tried the suggested fixes and nothing works suggestions so far?

  • Office jet pro 8600 more: Office jet pro 8600 not available in wired networks and wireless

    Have a 8600 JO Plus (CM750A) (N911G), he worked on the wired connection with a static IP address. Then one day she stopped communicating on the cable network. Don't reset to the default values, but still no connection, no activity lights on the conne

  • games on google

    I have upgraded my experia z2 5.0.2 now I can not access google playing games. He says he has to be updated but when I click on install, it says it's not available in my country.