Apex 4.2 theme 25 Text item cursor focus issue
Hi
Apex 4.2 theme 25, linux , 11gR2
I have 4 region on page , first region Info display region html, other are form region with Insert sql statements.
Page: 12 Operational
*Name P12_abc
Display As TextField
User Interface
*Sequence 160
*Region abc
Template REQUIRED(HORIZONTAL-RIGHT ALIGNED)
Grid Layout
Start New Row YES
Column AUTOMATIC
Column Span AUTOMATIC
Label ABC
Settings
Value Required YES
Subtype TEXT
Submit when Enter pressed NO
Disabled NO
Element
Form Element Width 11 Maximum Width20
Value Placeholder null
HTML Form Element CSS Classes
null
HTML Form Element Attributes null
ISSUES_
One can not click inside the first(this) field. The only current user workaround is to click on the field/item label and then focus occurs OR click in second field and shift tab.
QUestion
Is it due to Template REQUIRED(HORIZONTAL-RIGHT ALIGNED) ?
IS it due to having two items on same grid( parallel to each other)?
Am i missing some setting or this is a bug ?
Thanks so much for looking into this.
BUG in 4.1 application theme 25
Similar Messages
-
Exiting the form when a text item has focus
I am a beginner, beginner using developer/2000.
I made a form with some text items that are linked to the
database.
When one of the text items has focus and I click the push button
that i created to exit the form, I get the message FIELD MUST BE
ENTERED.
I want to exit the form regardless of whether the cursor is
currently in any text items.
I hope this makes sense.
Thanks, fredWhat you probably want to do as well is set mouse navigate to
FALSE on the text field.
Regards
Grant Ronald
Forms Product Management -
How to influence APEX 4.0 autocomplete text item drop down list's colors?
Hi,
Could some body please point me to the template that I have to modify?
I am using theme 15 and the text item with auto complete has a very different color schema, that I would like to modify, so that it would harmonize with Theme 15 colors. It's just that I can not seem to find the template to modify. TIA.
TamásTamas
There's no template for the autocomplete item. It's appearance is controlled entirely using CSS. Theme 15 does not include themed styling for autocomplete items: it falls back to a generic scheme specified in the <tt>apex_4_0.css</tt> style sheet:
.ac_results {
padding: 0;
border: 1px solid black;
background-color: white;
overflow: hidden;
z-index: 99999;
.ac_results ul {
width: 100%;
list-style-position: outside;
list-style: none;
padding: 0;
margin: 0;
.ac_results li {
margin: 0;
padding: 2px 5px;
cursor: default;
display: block;
font: menu;
font-size: 12px;
line-height: 16px;
overflow: hidden;
.ac_results li {
margin: 0;
padding: 2px 5px;
cursor: default;
display: block;
font: menu;
font-size: 12px;
line-height: 16px;
overflow: hidden;
.ac_loading {
background: white url('indicator.gif') right center no-repeat;
.ac_odd {
background-color: #eee;
.ac_over {
background-color: #0A246A;
color: white;
}The best approach would be to use a web inspector tool to identify what each of these rules does in the context of using the autocomplete item and create your own theme-15-friendly style sheet to override this subset of <tt>apex_4_0.css</tt>. -
Invisible Text item cursor in forms 4.5... How to resolve?
In certain Text items in forms 4.5, the txt cursor is not displayed. The propertys are the same that other text items, the display propertys are:
-Font : MS SanSerif
-Size : 8
-type : plain
-weight : DemiLight
Foreground : Black
Background : White
What i need to do to make this cursor visible?Try making the fields a bit taller - I seem to remember that there was a bug on this way back in 4.5 so it may be that you're hitting.
-
Hello Everyone,
I have added a remember my username checkbox with login box.
If somebody clicks the checkbox it remembers the username.
However, the cursor remains with the first item ie. username.
I want to change the cursor focus to password field if username
field is not null.
Can anybody help me in setting the tabindex property for password field.
I want to set the tabindex in my plsql procedure.
Thank You,
ParveenYou can do that in your page header Javascript code as follows:
function first_item(){
if (document.getElementById("PX_USERNAME") )
document.getElementById("PX_USERNAME").focus();
else
document.getElementById("PX_PASSWORD").focus();
}where PX_USERNAME and PX_PASSWORD are your username/pwd fields...and then in your page HTML body code put :
onLoad=first_item();Thanks,
Sam -
How to control the cursor position on a text item..
Hello,
How can we control the cursor position programmatically on a text item.
i.e. how do we move the cursor to home or end of the text item.
TIA,
HitenIf you have an access to metalink.oracle.com, take a look at notes:
Note 61656.1 (V45) HIGHLIGHTING A REGION OF TEXT
Note 131028.1 Default Highlighting in Forms (Client Server)
and threads from metalink forum:
531481.996 "Select_All not working in 6.0.8.25.2", 153092.995 "Text item cursor position" -
Setting the cursor at the end of a text item Forms 10g
Is there a way in 10g forms to set the cursor at the end of the text item without highlighting the text.
I have a text item field when I query it and tab to the field, it highlights the whole text inside the block item. Users sometimes type without thinking so, we made it set the cursor at the end.
I know in 6i forms there was a client package (d2kwutil) that accomplished this and if I have too, I'll use it via the WebUtil. I just was not sure if there was anything in 10g forms that accomplished the same task.
Any help is appreciated.
ChrisHello,
You can also use the good old win_api_shell.sendkeys() d2kwutil function, that works also fine with Web versions.
For instance, in a When-New-Item-Instance trigger:
win_api_shell.sendkeys(get_window_property('WINDOW1',window_handle),'{End}',TRUE); Francois -
Updated - Cursor focus in HTML text field in JEditorPane
The last poster just save my bacon - so an update for others: Adding a JEditorPane to a JWindow will result in all the <INPUT type=text> form elements to be non focusable. Switching to JFrame does make things work again - but I would love to have a JWindow again (I don't want the title bar for a kiosk type operation).
thanks!
brian
Here is the guy I do thank!!!
** PROBLEM
How do I make cursor focus go into an HTML text field in a JEditorPane?
My test appplication is a JPanel containing a JEditorPane and nothing else. The content type is text/html. The HTML text contains a form and an INPUT TYPE=TEXT tag. I use setEditable(false) because I do not want the user to edit the paragraph text, only to type in the text field.
The text field does not get cursor focus. Tab does nothing. The user can click with the mouse to place focus in the text field, so the field is capable of receiving focus. I guess the field is in a View that stops it participating in the component hierarchy.
Is there a way to make this work?
** SOLUTION! - ok, if you don't use JWindow
It turns out that setEditable(false) is not enough. The JEditorPane still gets in the way of the focus cycle. It also needs setFocusCycleRoot(false) and setFocusable(false) to prevent it from participating in focus. Focus on the text field then works normally.
fpI don't want the title bar for a kiosk type operation).You could use an undecorated frame. Read the API for more info.
Or, maybe this posting will help:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=675445 -
How to set cursor at the end of text item?
If I use Go_Item, it will go to the item but select the whole content of the item(displayed in blue color). How can I set the cursor at the end of the text item and not to make the content selected?
You may be seeing <Bug:1186653> which is fixed in 6.0.5.36 however if running on windows awprkaoutnd may be to use d2kwutil.
Place the following code within a when-new-item-instance trigger on the
item(s) you wish to disable highlighting:
DECLARE
v_handle pls_integer;
BEGIN
win_api_shell.sendkeys(V_HANDLE,'{home}',FALSE);
END;
The above code will result in no highlighting occurring and the cursor will be
placed on the first character of the item. If you wish the cursor to appear at
the end of the item, replace the word home to end. For more information,
please refer to the d2kwutil documentation.
Note that this solution will only work on windows in a client server environment.
For a web solution you will have to create a java bean that will perform the
necessary functionality.
Regards
Grant Ronald -
would like to use apex_item to popup a calculator for a text item field, is this possible in apex 4.2.2?
I imagine you could reverse engineer what APEX delivers when you declaratively choose text field with calculator.
For example, the generated source includes an event:
onclick="calculatorPopUp_p_t01();"
These get added to the attributes of your apex_item.text() call.
Alternatively you just paste the entire generated content, escaping the necessary data. -
Cursor focus to error field.
In APEX 3.0, when I use Validations, Type Function Returning Error Text:
If :P1_ITEM is null then
return 'Must enter a value';
end if;
Everything is fine, except the cursor goes to the first field in the page. How do I make the cursor go to the field that contains the error (back to the field that did the validation)? Thanks in advance.Hi Shirley
Sorry I did not see this post but I did reply to your question you post about inserting caps.
if you create another page item say P1_PAGE_FOCUS then as part of your validation you set its value.
If :P1_ITEM is null then
:P1_PAGE_FOCUS := 'P1_ITEM';
return 'Must enter a value';
end if;
add this bit of javascript to your header
function setFocus(FocusItem)
try {
var oFocus = document.getElementById(FocusItem);
document.getElementById(oFocus.value).focus();
catch(err) {
null;
}You should also that your pages Cursor Focus is not set to first page item. Then add the following to your HTML Body attribute
onLoad ="setFocus('P1_PAGE_FOCUS');"
This should then set the page item that you want to set focus to the invalid page item. -
Display Hint Text in Oracle Forms 6i at Text Item
Dear all seniors
I want to show Hint text at Text Item in Oracle Forms 6i.
when my cursor Focus goes at that item. I mean when I go with Tab key or Enter button then it show display text.
even though my mouse is not on that item.
please how it would be possible
thanks.
G.YPlease create a display_item(for eg. Disp_Mess) just below the text field (For eg:-MyField) where you want to show hint. And then assighn Hint text to "DISP_MESS" in NEW-FORM-INSTANCE or at Initial value. Then create a PRE-TEXT-ITEM and POST-TEXT-ITEM trigger for MyField.
-- PRE-TEXT-ITEM trigger write following code.
SET_ITEM_PROPERTY('DISP_MESS',VISIBLE,PROPERTY_TRUE);
--POST-TEXT-ITEM write following code.
SET_ITEM_PROPERTY('DISP_MESS',VISIBLE,PROPERTY_FALSE);
It will work for you.
Regards
Ahamed Rafeeque Cherkala -
Problem with multiline text item return on query
Hi there, I am a beginner in ORACLE, here when i write a query i engaged a weird problem,
LOOP
FETCH CSR_ODR2 INTO :ORDER_RECORD.OREDER_RECORD_NO,:ORDER_RECORD.BILL_NO,:ORDER_RECORD.ACTUALO_WEIGHT,:ORDER_RECORD.OPERATION,:ORDER_RECORD.PLACE,:ORDER_RECORD.TRANSACTION_DATE,:ORDER_RECORD.ORDER_NO;
EXIT WHEN CSR_ODR2%NOTFOUND;
END LOOP;
this is the cursor version, I also tried SELECT statement, but have trouble about return more than 1 row.
:Order_Record is a detailed-form with multiline text items,while execute this cursor, it always rewrite the 1st line and wont go to 2nd line, I wanna get some help about how to display different records in different line in a text item.
btw, i tried next_record,next_item,next_field, but none of them works, the query is based on the record i filled on the master form, and show related record in detailed-form
Kyle
Edited by: user12234866 on 13-Jun-2010 00:32DECLARE
CURSOR CSR_ORDER IS
SELECT T.ORDER_DATE,T.WEIGHT,T.CUSTOMER,T.DRIVER_NO,T.INVOICE_NO,T.LICENSE_NR_TRUCK,T.PRODUCT,T.PRICE_PER_TON,T.TRAILER_NO
FROM TRANSPORT_ORDER T
WHERE T.ORDER_NO=:TRANSPORT_ORDER.ORDER_NO;
BEGIN
OPEN CSR_ORDER;
LOOP
FETCH CSR_ORDER INTO :TRANSPORT_ORDER.ORDER_DATE,:TRANSPORT_ORDER.WEIGHT,:TRANSPORT_ORDER.CUSTOMER,:TRANSPORT_ORDER.DRIVER_NO,:TRANSPORT_ORDER.INVOICE_NO,:TRANSPORT_ORDER.LICENSE_NR_TRUCK,:TRANSPORT_ORDER.PRODUCT,:TRANSPORT_ORDER.PRICE_PER_TON,:TRANSPORT_ORDER.TRAILER_NO;
EXIT WHEN CSR_ORDER%NOTFOUND;
END LOOP;
END;
DECLARE
CURSOR CSR_ODR2 IS
SELECT O.OREDER_RECORD_NO,O.BILL_NO,O.ACTUALO_WEIGHT,O.OPERATION,O.PLACE,O.TRANSACTION_DATE,O.ORDER_NO
FROM ORDER_RECORD O
WHERE O.ORDER_NO=:TRANSPORT_ORDER.ORDER_NO
ORDER BY OREDER_RECORD_NO asc;
BEGIN
OPEN CSR_ODR2;
GO_BLOCK(':ORDER_RECORD');
LOOP
FETCH CSR_ODR2 INTO :ORDER_RECORD.OREDER_RECORD_NO,:ORDER_RECORD.BILL_NO,:ORDER_RECORD.ACTUALO_WEIGHT,:ORDER_RECORD.OPERATION,:ORDER_RECORD.PLACE,:ORDER_RECORD.TRANSACTION_DATE,:ORDER_RECORD.ORDER_NO;
EXIT WHEN CSR_ODR2%NOTFOUND;
END LOOP;
END;
thats the stuff i wrote here to execute -
Hi everybody,
I work with HTML DB 1.6. My question is about Cursor Focus. In my page Cursor Focus is SET TO: First item on page
My first item is a Select list, my second item is an other Select list and my third item is a Text area. My cursor is focus on my third item; WHY ?. I want on my first one.
Another question, is it possible to move our cursor to the next item after entering data in an item or to choose to don't have cursor on some item?
Thanks. Bye.Thank you Mr. Horowitz,
But, I just have to write tabindex=''1'' for example or I have to add a tag.
Thanks. Bye. -
b Track Text Item Change /b
Hi all,
I'm using Forms 6i.
I want to track the changes in a Text item.
I want to uncheck one check box, when the user changing the value of the particular text item. There are two ways to change the value of the text item.
1. The user can directly enter the value.
2. They can select the value from LOV associated with that text item. Sometimes they will not select the value from LOV simply cancel it also.
Which trigger shall i use.
I cannot use Validation & navigational triggers. since the cursor may or may not going to that particular text item and also the navigational(Both Mouse & keyboard) property is no.
Thanks in Advance.
AravindHello,
I cannot use Validation & navigational triggers. since the cursor may or may not going to that particular text item and also the navigational(Both Mouse & keyboard) property is no.
So, how the end user can change the value if the focus is not in this particular item ?
Francois
Maybe you are looking for
-
Hi All, I have to make a report in FI, which should show the below given Customer open Invoice details for a given customer in selection screen. Invoice No | Invoice date | Invoice Amount | Payment | Balance | Currency | 1. I have selec
-
DBIF_RSQL_SQL_ERROR while creating the Info record
Hi, When i try to create the infor record ,it is giving this error while saving the record. Runtime Errors DBIF_RSQL_SQL_ERROR Except. CX_SY_OPEN_SQL_DB Date and Time 12/15/2010 09:47:05 Short text SQL error in th
-
Updating Acrobat Pro 9.0
I had to reinstal Acrobat 9.0 in my Windows 8.1 desktop. It seems like a firewall issue but I cannot figure out how to allow it through the firewall if so. Thanks.
-
How to use '*' character in element names ?
Hi, I have to use '*' character in element names. But, it throws DOMException. is there a workaround to use such illegal characters ? thanks in advance...
-
Integer not incrementing because of an if statement
I have an Objective-C app here - and I am wishing to alter a variable (integer) each time the app runs. My code below will work, but when the integer reaches the number specified in the if statement, it no longer increments as instructed. - (void)awa