Double clicking a list item
Hi,
I'm just trying to perform an action by double-clicking a list item, but doesn't seem to work. code:
WHEN-MOUSE-DOUBLE-CLICK trigger on List item (TList).
DECLARE
v_verwalten VARCHAR2(40);
BEGIN
v_verwalten := :CONTROL.LIST;
IF v_verwalten = 'Codes verwalten'
THEN NEW_FORM('COD_VER');
END IF;
END;
Hi all,
When the list item type is tlist, the trigger 'WHEN-LIST-ACTIVATED' will fire for "mouse double click" and "key enter".
Try with placing the code in 'WHEN-LIST-ACTIVATED' trigger.
Cheers,
Zakiy
Similar Messages
-
I have Thunderbird 24.5.0. When I double click the desktop item to open it up, it opens immediately, but when I'm in the main page with all the folders on the left & the corresponding email details on the right of that same page, it seems to have problems. Before, when I would highlight a certain box / folder (whether it would b “inbox”, “sent” folder, “trash” folder, or whatever, it takes a good 5 min (minimum) to open that certain folder so I can see the emails of that folder.
Can u help me determine what is causing this? Just 3 days ago, it was fine.
Thank youWhat is your anti-virus software?
-
My computer had to be shut down this morning when I could move my mouse around but it would not respond when I double clicked on an item to select. Now I cannot open a file in my finder window by double clicking on it. Any suggestions?
Did you reinstall CS3 after CC?
For that matter, doing an in-place upgrade on the OS is always a gamble with Adobe programs. Reinstalling all the versions you need, in order, would probably solve your problem.
And you shouldn't need to save as IDML after opening the .inx in CC. -
When i double click on an item in the firefox dowloads window the item dos'nt open.Left clicking on the item dose not give me the choice to "open" the item.
the downloaded item is a pdf file of 59 kb, and was downloaded using adobe acrobat version 5I have sort of the exact same problem. Extremely far away from user friendly
I have an second issue as well: When I hook off all-day it comes up with an 8 hour event!
And then if I put in a late start hour it pushes end time to next day due to the 8 hour event suggestion.
All in all this gives a lot of changes just to enter an event.
Command N
I learnt from your input to use this fuction. At least that comes up with a one hour event as default. -
How to get index of the item from table when user double click on an item
Can anyone tell me how to get the corresponding index of a table in which
elements are listed as array of strings? I am looking for the index of the
item being double-clicked on?
Thank you in advance
Cheers,
NQ.Hi NQ,
Although the question is not thouroughly clear, I can give a few suggestions. You can use the property node for table to refer to any particular row or column of the table. The correpsonding elements in the property node will be "SelStart", "SelSize" etc. Just as a side thought, the index of a table starts with (0,0).
I am attaching a test file. Please see if it helps you in figuring out what exactly you want. This example VI is just to help you try different options under property node (if you havent already tried)to get what you want.
Regards,
Sastry Vadlamani
Applications Engineer
National Instruments
Attachments:
test.vi 27 KB -
Double click on list field in ALV grid control
Hello all,
I developed a report with a ALV grid control. I would like to move some functionality from marking a line and pressing a button in the status line to double clicking a specific field in the output list and execute a command there (i.e. double click on PO number and go to PO display TAC then). Can anybody provide some example coding for that?
Thanks so much for your help!
TorstenHere is your sample program. Copy this code into a z program. Create the screen 100 with a container in it and name it "ALV_CONTAINER". Create the gui-status with "BACK".
report zrich_0001.
tables: ekko.
data: begin of i_alv occurs 0,
ebeln type ekko-ebeln,
end of i_alv.
* CLASS cl_event_receiver DEFINITION Handles Double Click
class cl_event_receiver definition.
public section.
methods handle_double_click
for event double_click of cl_gui_alv_grid
importing e_row e_column.
private section.
endclass.
* CLASS CL_EVENT_RECEIVER IMPLEMENTATION Handles Double Click
class cl_event_receiver implementation.
method handle_double_click.
perform drill_down using e_row-index.
endmethod.
endclass.
data: alv_container type ref to cl_gui_custom_container.
data: event_receiver type ref to cl_event_receiver.
data: alv_grid type ref to cl_gui_alv_grid.
data: layout type lvc_s_layo.
data: fieldcat type lvc_t_fcat.
selection-screen begin of block b1 with frame title text-001 .
select-options: s_ebeln for ekko-ebeln.
selection-screen end of block b1.
start-of-selection.
perform get_data.
call screen 100.
* Module status_0100 OUTPUT
module status_0100 output.
set pf-status '0100'.
set titlebar '0100'.
data: variant type disvariant.
variant-report = sy-repid.
variant-username = sy-uname.
* Create Controls
create object alv_container
exporting
container_name = 'ALV_CONTAINER'.
create object alv_grid
exporting
i_parent = alv_container.
* Create Event Receiver
create object event_receiver.
* Populate Field Catalog
perform get_fieldcatalog.
call method alv_grid->set_table_for_first_display
exporting
is_layout = layout
is_variant = variant
i_save = 'U'
i_structure_name = 'I_ALV'
changing
it_outtab = i_alv[]
it_fieldcatalog = fieldcat[].
* handler for ALV grid
set handler event_receiver->handle_double_click for alv_grid.
endmodule.
* Module USER_COMMAND_0100 INPUT
module user_command_0100 input.
case sy-ucomm.
when 'BACK' or 'CANC'.
if not alv_container is initial.
call method alv_container->free.
clear: alv_container.
free : alv_container.
endif.
if sy-subrc = 0.
set screen 0.
leave screen.
else.
leave program.
endif.
when 'EXIT'.
if not alv_container is initial.
call method alv_container->free.
clear: alv_container.
free : alv_container.
endif.
leave program.
endcase.
endmodule.
* FORM GET_DATA
form get_data.
select * into corresponding fields of table i_alv
from ekko
where ebeln in s_ebeln.
sort i_alv ascending by ebeln.
endform.
* Form Get_Fieldcatalog - Set Up Columns/Headers
form get_fieldcatalog.
data: ls_fcat type lvc_s_fcat.
refresh: fieldcat.
clear: ls_fcat.
ls_fcat-reptext = 'PO Number'.
ls_fcat-coltext = 'PO Number'.
ls_fcat-fieldname = 'EBELN'.
ls_fcat-ref_table = 'I_ALV'.
ls_fcat-outputlen = '12'.
ls_fcat-col_pos = 1.
append ls_fcat to fieldcat.
endform.
* DRILL_DOWN
form drill_down using index.
read table i_alv index index.
if sy-subrc = 0.
set parameter id 'BES' field i_alv-ebeln.
call transaction 'ME23' and skip first screen.
if not alv_container is initial.
call method alv_container->free.
clear: alv_container.
free : alv_container.
endif.
endif.
endform.
Regards,
Rich Heilman -
ALV TREE - Double click on an item
Hi all,
I need to handle the double click action on an Item of ad ALV_TREE defined cl_gui_alv_tree_simple
What I did at now is:
u2026
DATA tree1 TYPE REF TO cl_gui_alv_tree_simple.
u2026
CREATE OBJECT event_receiver.
SET HANDLER event_receiver->item_double_click FOR tree1.
SET HANDLER event_receiver->node_double_click FOR tree1.
u2026
CLASS lcl_event_receiver DEFINITION.
PUBLIC SECTION.
METHODS:
*Double-click control
item_double_click FOR EVENT item_double_click OF cl_gui_alv_tree_simple
IMPORTING index_outtab
fieldname
grouplevel,
*Double-click control
node_double_click FOR EVENT node_double_click OF cl_gui_alv_tree_simple
IMPORTING index_outtab
grouplevel.
PRIVATE SECTION.
ENDCLASS. "lcl_event_receiver DEFINITION
CLASS lcl_event_receiver IMPLEMENTATION.
METHOD item_double_click.
break <my_user_id>.
ENDMETHOD. "handle_double_click
METHOD node_double_click.
break <my_user_id>.
ENDMETHOD. "handle_double_click
ENDCLASS. "lcl_event_receiver IMPLEMENTATION
When I double click on item the program do nothing and I donu2019t understand the why.
Note: I think I could try to define the events passed, using the method et_registered_events, but I donu2019t know how to obtain the id of method item_double_click defined in class cl_gui_alv_tree_simple.
Any Idea?
Thank you in advance.Register the events with the below code...
data: lt_events type cntl_simple_events,
l_event type cntl_simple_event.
l_event-eventid = cl_gui_column_tree=>eventid_node_double_click.
append l_event to lt_events.
l_event-eventid = cl_gui_column_tree=>eventid_item_double_CLICK.
append l_event to lt_events.
call method tree1->set_registered_events
exporting
events = lt_events
exceptions
cntl_error = 1
cntl_system_error = 2
illegal_event_combination = 3. -
Double click for JList items selection
I would like to select JList items only by double clicking on them. I can write a mouse listener for detecting double clicks by my own (and handle it afterwards), by please tell me how to turn the default behavior off (selecting items by clicking one time).
Thanks in advance
MarekI would like to select JList items only by double clicking on them. Well the standard is to select or highlight on a mouseClick or by using the arrow keys on the keyboard.
Then once you have a selected item you can perform and Action on the item by double clicking or by using the enter key. Remember you should always be able to use either the keyboard or the mouse to perform any given function.
This posting shows my solution for the above scenario:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=626866 -
I have a list box that I need to be notified for double clicks.
I created a subclass from CEventHandler and added the interface to kWLBCmpListBoxWidgetBoss (I am using the sample code here) which is a subclass of kWidgetListBoxWidgetNewBoss.
When I ran the sample code, I can pick up the double click but all the single clicks and the scroll bar stopped working. Even the scroll wheel stopped working as well.
This is on an iMac G5 running 10.4.11.
Any insight to this problem?See how CusDtLnkUITreeNodeEH works with the original EH as "shadow".
-
Double clicking on workflow items does not take release document
Hi,
I have configured work flow for PR and PO release ,but in Business work place in SO01 T-Code if I double click on the PR or PO number it is not taking to release document what may be the reason?
parameter ID WLC is assigned for the user.
Requesting expert advice.
Regards
KanthaCan you please check whether the default method gets executed when you try to execute from swo1.
The default method will be Display.
Also check for authorization. Please do a SU53 dump when you do not get the screen.
Thanks
arghadip -
Change color when users click on list item(like read/unread in email)
Hi
I assign some task for my colleagues. Now I want to when they open the list item that related to them,color of that item change(like read/unread
in email)that I understand my colleagues see their task.
How I can do this?
Thanks.There are few articles available online, refer these
http://www.sharepoint-journey.com/alternate-color-for-a-column-in-SharePoint-list-using-jquery.html
http://davecoleman146.com/2013/07/08/colour-coding-a-sharepoint-2013-list-with-jquery/
http://community.spiceworks.com/topic/151771-color-coding-sharepoint-list-with-jquery-help
--Cheers -
Need to add list items while clicking another list item.
I want to know the steps to be followed to get the below functionality .
EntityList EntityList
dept
emp
all
At run time when user clicks emp or emp ,dept,all these items should be to enitity list.
Iam open any list other than LOV.
Could you anyone help me how to work this functionality
Thanks,Block Name:CONTROL
List 1 List 2
ENTITY_TYPE ENTITY_LIST
Emp
Dept
All
I have to add List1 item to List2 when user clciks on List1.
In when-list-changed-trigger
Declare
v_list_id ITEM := find_item('CONTROL.ENTITY_LIST');
v_list_value1 VARCHAR2(100);
Begin
Select :CONTROL.ENTITY_TYPE into v_list_value1 from dual;
Add_List_Element('CONTROL.ENTITY_LIST',1,v_list_value1,v_list_value1);
End ;
Iam getting run time warning no list elemnets in entity_list .
And the form is not showing any list elements in entity_list when i cick on list1. -
Double click on the list doesnt work
Hi,
We are using ITS 6.20. In the GUI when we search for a set of values like user list, if we double click on one item to populate on to the screen, the GUI just hangs... This is happening on both out test environments. Any ideas?Hello Satya,
if this is happening in an SAP standard transaction, I suggest to open an OSS message.
Regards,
Jan -
Hierarchial List double click Event
Hi Friends,
I have developed a Heirarchial List using Function Modules.
My requirement is when i double click on items(child) it has to go to a sap standard transaction.
But Double clcik event is not working when i double click on any item. Can anybody pls give me an idea
how to achieve this?
Thnaks in Advance.
With regards,
RajgopalDera friend,
follow the below mentioned code . hope u will undersatnd.
Here is the procedure to handle Interactive ALV.
1. declare events table like this.
data :
i_events type slis_t_event,
w_events like line of i_events.
2.
Build events table .
w_events-name = 'USER_COMMAND' .
w_events-form = 'USER_COMMAND' .
append w_events to i_events.
clear w_events.
3.
pass this events table through REUSE_ALV_GRID_DISPLAY.
4.
USER_COMMAND call back subroutine should be like this in your case. This is nowhere called using PERFORM statement in ur program.
5.
USER_COMMAND subroutine should be like this.
*& Form user_command
form user_command using ucomm like sy-ucomm
selfield type slis_selfield.
case ucomm .
when '&IC1'. This is for double click on ALV output.
skip 10.
position 10.
write 'Double click was executed'.
endcase.
endform. "user_command
selfield structure
You can also handle Interactive ALV using this structure.
types: begin of slis_selfield,
tabname type slis_tabname,
tabindex like sy-tabix,
sumindex like sy-tabix,
endsum(1) type c,
sel_tab_field type slis_sel_tab_field,
value type slis_entry,
before_action(1) type c,
after_action(1) type c,
refresh(1) type c,
col_stable(1) type c,
row_stable(1) type c,
colwidth_optimize(1) type c,
exit(1) type c,
fieldname type slis_fieldname,
grouplevel type i,
collect_from type i,
collect_to type i,
end of slis_selfield.
You have to check the above structure in debug when u double click what the above contains. very helpful structure fo ur case.
regards,
PrashantH maturu. -
Hi all ,I have Task that When click on list item a new sit will open fo
for ex: I created a List (test list) and list items are Project name,Application, Start date ....,when i click on Project name a new sub site will open,
Is there any out of box feature ?
for that Please help any body knows
Thanking You,This is a forum related to System Center Service Manager. Your question seems to be related to Sharepoint 2010. Maybe it's better to ask in the Sharepoint 2010 forum, for instance: General
Discussions and Questions
Andreas Baumgarten | H&D International Group
Maybe you are looking for
-
Skype won't sign in on Windows 8.1
So every time I try to sign in to Skype on Windows 8.1 using the desktop version or the app version, it freezes on Signing In. I've tried compatibility mode, and it works fine on my phone, but I can't get it working on my computer. I upgraded to 8.1
-
Insert into JComboBox....
I am trying to insert another option into a JComboBox, however, I do not wish to append it. I need to insert it in between two other options. I cannot seem to find a method to do this. I know this is possible with JLists as you can specify an int and
-
I dont no what i put in itune questions
is this live chat if so thanks goodness i made an iturn account along time ago and i dont rememer putting in questions like what was your first animals name well i put it in and its not right to my account and the nickname de deny dehope hope couldnt
-
The keypad on my phone is kind of dead, anyone can help?
I just purchased my blackberry curve online and received yesterday. At the beginning, everything was great, I can make phone calls, edit address book, change phone tunes etc. And 1 or 2 hours later, suddenly the screen kept showing "Uuouououou......"
-
How can I install the Premiere Pro functional content
Ok done Thanks, reinstalled, BUT DVD 3 has Funtional content for Premiere PRO which will not load. Starts to load then says administrator says no to install? I'm administrator and the other FC on DVD3 loaded fine. any hints.