KEY-DOWN trigger doesnt work on list item
I am trying to avoid the list item to be pulled down using key-down trigger in developer 6i but key-down trigger has no effect. Is it possible to stop list item to pull down when user press down arrow key. I want the list to pull down only through mouse. Please help.
Hi!
May set the Keyboard Navigable and the Mouse Navigate Property to No for your list item,
so no keyboard change is possible.
Regards
Similar Messages
-
macbook pro 15" mid 2010 i spilled water on keyboard now it wont power on if the battery is connected and the keys on keyboard doesnt work it works fine with no battery and external keyboard if i order a battery and new keyboard will every else work again lik it did before
If you have records that show that you've taken your MacBook Pro in for a year to fix the machine, I would escalate the problem to Apple Customer Relations - unfortunately I don't have a number for Spain.
It would only seem logical to me that if you've been trying to have the machine repaired during the time that the 'recall' was in effect that you should be eligible for a new logic board. But only customer relations will be able to make that call.
Good luck - take the issue as high up the food chain as you can and see what happens.
Clinton -
Tooltips don't work with list items?
Hi
I have a list item (I've tried with both combo and poplist), I've set the tooltip and the tooltip doesn't get displayed. I tried setting the tooltip on a normal text item control for comparison and that displays the tooltip. Do tooltips not work on list items?
MarcIt's work in 10gR2.
It's not work with Combo Box!
Could be a problem about what JRE you are working? Jinitiator or Sun JRE.
Try your test on it
Regards -
Plz assist me.
I have a form with a textitem Name and I do not want the user to enter any key apart from [A-Z] i.e ascii value (65 to 90). I want to create a trigger on key-down which returns simple message "plz enter characters only" if user enters any key apart from [A-Z].
Plz answer Thank you.Create or Replace function funasc (RC Varchar2) Return Boolean
is
vali Number := 0;
kv Number := 0;
vk Number := 0;
as Number := 0;
ab Number := 0;
len Number := 0;
Begin
len := length(RC);
For I in 1..len Loop
If I <> 4 then
vali := ascii(substr(RC, I, 1);
If Vali Between 65 and 90 then
kv := kv + 1;
Else
ab := ab + 1;
End if;
Elsif I = 4 then
vali := ascii(substr(RC, I, 1);
If vali = 45 then
vk := 1;
Else
ab := 1;
End if;
End If;
End Loop;
as := KV + vk;
If as <> len then
Return True;
Elsif as = len then
Return False;
End if;
End;
Trigger : When-Validate-Item
Text_Item : Route_Code
Declare
RC Fare.Route_Code%Type;
Alt Number;
Begin
If funasc(:fare.route_code) then
message ('Route Code : ' || :fare.route_code || ' is invalid.!');
Set_Alert_Property ('ALERTRC', title, 'ROUTE CODE VIOLATION');
Set_Alert_Property ('ALERTRC', alert_message_text, 'Route Code : ' || :fare.route_code || ' is invalid. Plz enter Route Code in [ABC-XYZ] format.!');
Alt := Show_Alert ('ALERTRC');
Raise Form_Trigger_failure;
Else
Select route_code into :fare.route_code from Fare where route_code = :fare.route_code;
message ('Route Code : ' || :fare.route_code || ' already exists.!');
Set_Alert_Property ('ALERTRC', title, 'ROUTE CODE VIOLATION');
Set_Alert_Property ('ALERTRC', alert_message_text, 'Route Code : ' || :fare.route_code || ' already exists.!');
Alt := Show_Alert ('ALERTRC');
Raise Form_Trigger_failure;
Else
Null;
End if;
End if;
Exception
When No_Data_found Then
Null;
End;
Wht this coding does is if route_code is not ABC-XYZ format then it through an alert, also if user enters number instead of char then it popup an alert.
Now can this coding be made even smaller. -
Populate_list is not working for list item
i have a list item. i have a record group with a query which will return only one column.
if i use
populate_list(list_name,'Rg_val');
Rg_val is the record group name
it says error
FRM-41334: Invalid record group for list population.
what might be the problem?The record group must have at list 2 columns, one is the content of the list item(what you see in the screen) and the other is the value that the list item returns.
if you create the record group programmatically your query must have 2 columns in the select statement, the first is the visible value of the list item and the other the real value that listitem returns.
I attach the following code if you want to create the record group at runtime which is the best.
declare
additional_payments varchar2(200) := 'select codpros||' || '''. ''||' || 'description,codpros from mis_pros';
v_rg_id recordgroup;
v_err NUMBER:= 0;
BEGIN
v_rg_id := create_group_from_query('recgrp1',additional_payments);
v_err:= populate_group(v_rg_id);
clear_list('codpros');
populate_list('codpros',v_rg_id);
delete_group(v_rg_id);
clear_list('typos');
populate_list('typos','RECORD_GROUP1');
delete_group('RECORD_GROUP1');
go_block('parameters');
execute_query;
END;
Be careful so as the codpros to be VARCHAR2. the 2 columns in the select statement must be of VARCHAR2 type. Try it and it ' ll work.
If you have any question ask me again.
Regards ,
bill. -
private void EditGuestForm_KeyPress(object sender, KeyPressEventArgs e)
string j=e.KeyChar.ToString();
if (e.KeyChar ==(char)Keys.F1)
ViewGuestForm v = new ViewGuestForm();
if (v.ShowDialog() == DialogResult.OK)
guestcodetoedit = v.guestcode;
GridViewShowGuest.DataSource = classguest.GetGuestbyCode(guestcodetoedit);
filldata();
}Hello,
It is glad to hear that you got it working and thank you for sharing your solutions & experience here. It will be beneficial for other community members who have similar questions.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Pressing keys at startup doesnt work with BT =(
I'm trying to make the Mac mini boot from a CD, but since it's a BT-keybord it doesnt seem to work. Is there a way to go round this problem?
Regards,
fredrikFredik,
I've the same problem. Have you found any solution?
Regards -
Delete history entries with delete key/stift+delete doesnt works
If i want to delete single entry from web history, i type keywords that open this entry, select it and press shift-delete.
That was woking in previous versions of firefox (after I restart it). Now even after restart that deleted entries appear again. I guess this is a bug and needs to be adressed. ThanksProblems with bookmarks and history not working properly can be caused by a corrupted places.sqlite database file.
You can check for problems with the <b>places.sqlite</b> database file in the Firefox profile folder.
*http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
*https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
*Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/ -
Dynamic Population of List Item Not Working
My requirement is to have 1 list item that is populated based on the value selected for a second list item. in the when-list-changed trigger of the second list item, i make a call to a procedure (code below). This seems to not like any of the clear_list or populate_list. the list item type is poplist. i set the class to list. if i use populate_list in when-new-form-instance, there's no problem. PLEASE HELP. When can't I populate list using a procedure??
ERROR: frm-40734 internal error pl sql error occurred
PROCEDURE Refresh_List IS
v_rg_name VARCHAR2(40) := 'RGTEST';
v_rg_id RecordGroup;
v_sql varchar2(2048);
problem EXCEPTION;
status number;
list_id item;
BEGIN
list_id := Find_Item('BLK_TEST.LST_TEST');
v_sql:='select column_name from sys.all_tab_columns where table_name=''testtable''';
v_rg_id := Find_Group( v_rg_name );
IF Not Id_Null(v_rg_id) THEN
DELETE_GROUP( v_rg_id ) ;
End if;
clear_list(list_id);
v_rg_id := Create_Group_From_Query( v_rg_name, v_sql ) ;
status := Populate_Group( v_rg_name );
POPULATE_LIST(list_id, v_rg_id);
POPULATE_LIST('BLK_TEST.LST_TEST', 'RGTEST'); also tried this.
if status <> 0 then
raise problem;
end if;
EXCEPTION
WHEN problem THEN
message('problem.');
WHEN others THEN
message('tooto');
END;Thanks for the response. I've tried this example too and it still doesn't like the things mentioned in previous post. In addition, it doesn't like SET_RECORD_PROPERTY(:system.cursor_record,'EMP',status,new_status); I get the same sort of error. The form compiles fine though.
Background on form:
this form was created to allow users to dynamically build an update statement. On this form are a number of list items and text boxes that are not populated from a database. So the datablock doesn't retrieve values from the database and the only updating that will be done is when the user clicks an "update" button to execute the sql statement that is built. Could this issue I'm having be related to the way i designed my datablock and items? When the user selects an item from one of the list items, the record status goes to "Changed". So I assumed my issue was because of this and thought the set_record_property statement would help...but that is generating the same error. what am i missing? if i look at the index value of the record group after create_group_from_query, it is -1. after populate_group, it is still -1. should it still be -1?? any help is greatly appreciated. -
How do you get the value of a selected list item?
I have a drop-down list that the user can choose from. How do I get the value of what they selected? I thought I could do this by using the NAME_IN function, but I'm getting FRM-40105 Unable to resolve reference to item X. I don't know what I'm doing wrong.
Thanks!Hi,
You can use an WHEN-LIST-CHANGED trigger, attached to the list-item itself. And, in this trigger, you can use the name of the item to refer its value.
For example:
:block_name.list_item_name
John -
List items do not refresh correctly.
In a form that i have developed there are two list items. I
want among others to chenge their appearance (background color
basicaly) according to witch one has th focus each time.
So I've put this code on the items, in WHEN-NEW-ITEM-INSTANCE
triger:
* LIST1
SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'SELECTED');
SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'GREYED');
* LIST2
SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'SELECTED');
SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'GREYED');
The Visual Attributes have the colors that i would like to
appear on the items.
This does not work (while it was working on Forms 5.0). It
seems to be a refresh problem, because when you open another
form that covers this one, or you minimize and maximize it the
colors are assigned corectly.
Thanks in advance for your help.
nullPanagiotis Lygnos (guest) wrote:
: In a form that i have developed there are two list items. I
: want among others to chenge their appearance (background color
: basicaly) according to witch one has th focus each time.
: So I've put this code on the items, in WHEN-NEW-ITEM-
INSTANCE
: triger:
: * LIST1
: SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'SELECTED');
: SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'GREYED');
: * LIST2
: SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'SELECTED');
: SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'GREYED');
: The Visual Attributes have the colors that i would like to
: appear on the items.
: This does not work (while it was working on Forms 5.0). It
: seems to be a refresh problem, because when you open another
: form that covers this one, or you minimize and maximize it the
: colors are assigned corectly.
: Thanks in advance for your help.
Hi Panagiotis Lygnos ,
I am not able to produce this problem. I create one form with
two list item ,two visual attribute & when-new-item-instance
trigger for these two list item as you have written above.
But List item background color of both list item is getting
changed according to witch one has th focus each time.
Even I tried to call this form from some other form still I am
getting correct result.
Can you just try by adding synchronize in the trigger of
both list item.
SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'SELECTED');
SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'GREYED');
Synchronize;
Bye
Mani/-
null -
Return Key doesn4t make my defined KEY-ENTER trigger to fire.
I4ve found that the trigger that fires when I press Return is KEY-NEXT-ITEM,but this doesn4t resolve my problem,because the tab key also fires this trigger.
I want to navigate within textitems with the tab key and that when I press return key make an action on the values entered in the items.
mila, PJRYou have to perform key mapping to get the Key-Enter trigger to work.
Open your forms90\fmrweb.res file in a text editor. Find the line:
10 : 0 : "Return" : 27 : "Return"
Change it to:
10 : 0 : "Return" : 75 : "Return"
Save the file and run the form again. The key-enter trigger should then fire when you press the Return key, but not when you press the Tab key. -
I have a repeating sub form which contains a drop down. I bound the list items to a node in my XML. Everything works fine when the form is first filled out. I can create new rows and the new rows contain the list of items in the drop down. I then save the data off and the form is rendered again later with that data. If I then add another row, the new row's drop down does not contain any items.
When I say add a new row, I mean a new instance of the sub form, not a new row to the drop down.<br /><br />_frmApprDetail.addInstance(1);<br /><br />I have now removed the data binding and am filling the drop downs manually through script in the initialize. I figured that the data binding would be more efficient somehow by using a common data structure for all instances of the drop down. It was not working for me though and this does.<br /><br />var objList = xfa.data.Formdata.ApproverList.nodes;<br /><br />for(i=0;i<objList.length;i++){<br /> this.addItem(objList.item(i).value);<br />}
-
Hi All,
The scenario is like this....
I have two list item Country and State.....Now when I select a specfic country from the list item.....corresponding state will come in the State list item....
Plz Help me to solve the issue....
Thanks in Advance.
T.HalderHalder,
In the WHEN-LIST-CHANGED trigger of the country list item write,
DECLARE
Num_Temp NUMBER;
RG_Group_ID RECORDGROUP;
BEGIN
RG_Group_ID := CREATE_GROUP_FROM_QUERY('RG_STATE', 'SELECT STATE_NAME, STATE_CODE FROM STATE_TABLE WHERE COUNTRY_CODE = ''' || :CB_COUNTRY || '''');
Num_Temp := POPULATE_GROUP(RG_Group_ID);
CLEAR_LIST('CB_STATE');
POPULATE_LIST('CB_STATE', RG_Group_ID);
:CB_MODULE := GET_LIST_ELEMENT_VALUE('CB_STATE', 1);
DELETE_GROUP(RG_Group_ID);
END;Replace the field names, table and and control name as per your requirement.
Regards,
Manu.
If my response or the response of another was helpful or Correct, please mark it accordingly -
How can i save it permanently to my iPhone when everytime I sync i cant access it ? When i use home sharing as soon as the wifi is down it doesnt work ? I need it to be saved to my phone and I can use it on the go ! I need help, its killing me !!!!!!
This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the iPhone forum.
Regards.
Maybe you are looking for
-
External hard drive which used to be recognised by my new iMac is no longer being recognised?
I recently bought an iMac. I have an external hard drive which was formatted to my old MacBook Pro. Initially it worked fine on my new iMac, but all of a sudden it is not being recognised by it. Any ideas what I can do?
-
[SOLVED]pacman -Sf zim makes arch read-only filesystem
Hi, Last night I was trying to install zim, it looks like there were a couple packages which weren't properly installed before. I googled the error I received and found somewhere on the forum the tip to use pacman -Sf package I ran the command and i
-
"Could not use the clone stamp tool because of a program error". How to fix this fault?
When I try to use the Clone Stamp Tool I am met with the message shown above. I have tried in all the ways I could find to beat this: different photos, switched the computer off and on again, run a de-bugging program through it (Advanced System Care
-
Can not open pdf's on any web pages?
Hi, I updated to Adobe reader quite awhile ago when it came out, and ever since I can't open any pdf files on any webpages... I have re installed, repaired, made sure that the pdf add on is enabled... but still nothing. I get a little window that say
-
Hi, I want to perform Html to Tiff conversion. The Html file is on my sys and i want to convert it into Tiff file using my java code. The html file contain Some formated text and 3-4 images. I have a tool (GUI) that take html file path and snap the h