Tags for UI elements / How to create a dynmic menu
Hi everybody
We currently do a lot with WD and are building a huge framework. this means that we mostly using dynamic programming for the ui but also for contexts an so on.
Known from other architectures (e.g. java swing, android sdk) every ui element supports an attribute "tag" with a generic type (normally type object). Here you can store additional information for each ui element. WD for ABAP has no such additional attribute, we can use for own purposes.
I'd like to define some popup menu for trays at runtime, but i just want to have one menu action. in this menu action handler i'd like to have a switch/case statement for the corresponding functions. At this point the only information i have is the ID, but what i need is something like a functioncode, i'd like to store anywhere in the action item using such a "tag". I cannot use the ID for my switch/case because the id is generated at runtime an i cannot use the functioncode as ID, because the functioncode can be used in severel menus and the id would not be unique.
Since im used to work with such tags (escpecially for action handler), i get restricted a lot when working with WD and dynamic ui generation.
How do you handle that?
Thx!
Dear Fab,
I may not be 100% accurate with the solution, but each method or action handler has a default parameter called "WDEVENT". From this parameter you can get the details of the actions being performed during the runtime, as you said, the Function Code could be the NAME attribute of WDEVENT parameter.
Please check the same, else, if you get to know the answer please do suggest me the same.
Regards,
-Syed.
Similar Messages
-
How to create a shortcut menu for the pane
Hi all
Well - I know how to create a shortcut menu for a control, but how is it created for a pane? There is the possibility to add an event case for a shortcut menu linked to a pane (see picture), but how can I create this menu?
Message Edited by becktho on 08-01-2006 11:32 AM
Using LV8.0
Don't be afraid to rate a good answer...
Attachments:
ScreenShot001.png 22 KBahlers option works, sorry but I can't add images from work!
Just use the shortcut Menu Activation filter event? to create a menu.
Ton
Message Edited by TonP on 08-01-2006 12:56 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!
Attachments:
Example_BD.png 4 KB
Example_BD.png 4 KB -
How to create a DVD menu like an animated Flash Menu?
Hello. I'm trying to figure out how to create an animated menu in Encore for a DVD, much like how menus are that are created in flash. How can I create one in Encore for a DVD menu? Thanks.
Use After Effects:
Adobe Encore * Using After Effects to enhance menus
http://help.adobe.com/en_US/encore/cs/using/WSA5513911-0AD1-440c-BDAD-2E0E806B425E.html -
How to create a dropdown menu with sub buttons that link back to the labels on click.
im trying to create a dropdown menu buttons that when you rollover to the top central button the button it opens up like a drop down menu would containg two other subsectional buttons. This makes the sub sectional buttons seperate from the main stage making it difficult to simply give them a on click, sym.play("label") function.
the buttons work like this in symbols or sections stage/panel/homebutton inside home button is group dev containg another group dev containg the button which I need to link back to a "label" in the /panel/ symbol or section. Thank you very much.pdp_1 wrote:
Hi!
I would like to create a DVD menu that offers two languages. So the first page gives two options: Language 1 and Language 2. Then depending on which language you choose, you go to a menu that proposes different videos and a photo slideshow.
Regardless on which language button you click on initially, you get the same content but in different languages.
I've been looking at Premiere's templates, which I can certainly customize, but I really don't see how to create the double menu. Does anybody have an idea?
Put the video with the first language on the timeline followed by the video with the second language. Use chapter markers so you can have each video as a chapter in the menu.
I use Premiere Pro, so I can't give more specific directions. Perhaps somebody like ATR will chime in.
Also, I have another question: can I put videos from different projects in the same DVD with Premiere or must all of the videos that go into the DVD be in the same project?
Thank you very much!!!
pdp1
They must be in the same project. -
How to create Drop down menu in the selection screen
Hi all,
How to create Drop down menu in the selection screen.
Fast answer will be highly rewarded
Regards
Bikashi ,
TYPE-POOLS : vrm.
TABLES:vbak,vbap.
DATA : v(80) TYPE c.
DATA: wa_vbak TYPE vbak,
it_vbak TYPE vbak OCCURS 0 WITH HEADER LINE,
wa_vbap TYPE vbap,
it_vbap TYPE vbap OCCURS 0 WITH HEADER LINE.
DATA: l_name TYPE vrm_id,
li_list TYPE vrm_values ,
v_count TYPE i,
l_value LIKE LINE OF li_list.
PARAMETERS: p_test(20) AS LISTBOX VISIBLE LENGTH 60 MODIF ID DAT.
INITIALIZATION.
AT SELECTION-SCREEN OUTPUT.
PERFORM get_data.
LOOP AT it_vbak.
l_value-key = it_vbak-vbeln .
l_value-text = it_vbak-vbeln .
APPEND l_value TO li_list.
ENDLOOP.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'P_TEST'
values = li_list
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
AT SELECTION-SCREEN ON P_TEST.
clear : li_list , li_list[].
SELECT vbeln
matnr
meins
FROM vbap
INTO CORRESPONDING FIELDS OF TABLE it_vbap
WHERE vbeln = p_test.
START-OF-SELECTION.
SELECT vbeln
matnr
meins
FROM vbap
INTO CORRESPONDING FIELDS OF TABLE it_vbap
WHERE vbeln = p_test.
LOOP AT it_vbap.
WRITE :/ it_vbap-vbeln, it_vbap-matnr,it_vbap-meins.
ENDLOOP.
*& Form get_Data
text
--> p1 text
<-- p2 text
FORM get_data .
SELECT vbeln
FROM vbak
INTO CORRESPONDING FIELDS OF TABLE it_vbak.
ENDFORM. " get_Data
regards,
venkat. -
How to create a flash menu that links to specific slides with in a Captivate swf
Hi,
I was wondering if someone could step by step explain how to
create a menu in flash that links to specific slides with in a
captivate swf. I understand that there is a rdcmndGotoSlide
command. I can't seem to get it to work.
Thanks,pdp_1 wrote:
Hi!
I would like to create a DVD menu that offers two languages. So the first page gives two options: Language 1 and Language 2. Then depending on which language you choose, you go to a menu that proposes different videos and a photo slideshow.
Regardless on which language button you click on initially, you get the same content but in different languages.
I've been looking at Premiere's templates, which I can certainly customize, but I really don't see how to create the double menu. Does anybody have an idea?
Put the video with the first language on the timeline followed by the video with the second language. Use chapter markers so you can have each video as a chapter in the menu.
I use Premiere Pro, so I can't give more specific directions. Perhaps somebody like ATR will chime in.
Also, I have another question: can I put videos from different projects in the same DVD with Premiere or must all of the videos that go into the DVD be in the same project?
Thank you very much!!!
pdp1
They must be in the same project. -
How To Create Drop Down Menu With Tab
hi
How To create Drop Down Menu with tab in Header of application like website Horizontal Dropdown Menu In html.
Thanks
Manoj
Edited by: Manoj Kaushik on Dec 30, 2009 4:16 AMTry the Apex forum {forum:id=137} someone there may have an answer.
Which version, that could be important, XE out-of-the-box has apex 2.1 if it hasn't been upgraded to 3.x -
For Mayank Guptha : how to create formula variable in IP
Hi,
How to create formula variable, such that it will appear in the variable screen.Hi,
the variables you create in formula function are local to the function.
Ex., DATA CST_ELMNT TYPE 0COSTELMNT.
DATA QTY TYPE 0QUANTITY.
To get the variables listed in the variable screen you need o create variables at aggregation/filter level for the required characteristics. -
How to create a sub menu for the transaction se38
Hi All,
I have created menu item in se38 using menu exit.
By using the enhancement SEU00002 .
That menu item is displayed under utilities menu bar.
But i am unable to create sub menu for that.
My requirement is to create sub menu to the custom menu item.
How can we create a sub menu to the transaction se38.Hi,
it looks like that user exit SEU00002 offers only one extra function +CUS. This function then calls FM EXIT_SAPMS38E_010. Hence I do not think that it is possible to create sub menu with this user exit.
Anyway you can try to modify SAP standard. You need to modify menu for SE38 and then add your code for handling new function codes. You can easily find where you will have to add your code for handling functions from your sub menu. You just need to look for usages of the FM EXIT_SAPMS38E_010.
Cheers -
I am looking for instructions on how to create a personalized signature at the end of email messages
I am looking for a tutorial or instructions about how to create a signature at the end of emails....Name, contacts, disclaimer info etc...to be posted at the end of each email..?
http://hosting.com/support/email/create-an-email-signature-in-mac-mail/
-
How to create a context menu in ALV table cell editor(Webdynpro abap )
Hello Experts,
I am having a problem in creating a context menu in a table cell editor in the ALV table output.I have assigned a 'lta' as the cell editor.But befor assigning the lta as cell editor I have assigned the menu to the lta.But when the view is rendered I can see the lta with the actioned assigned to it.But I cannot see the context menu.
The code snippet below:
"Create menu for each coloumn
create OBJECT lo_menu_actions type CL_SALV_WD_VE_MENU EXPORTING
id = 'MITM_ACTIONS'.
lo_menu_actions->set_visible( value = abap_true ).
lo_menu_actions->set_visible_fieldname( value = 'ACTIONS' ).
"ADd menu items
CREATE OBJECT lo_menu_item_create type CL_SALV_WD_VE_MENU
exporting
id = 'MITM_CREATE_EXPRESSION'.
lo_menu_item_create->set_visible( value = abap_true ).
lo_menu_item_create->set_visible_fieldname( value = 'Create' ).
"Add item 1
lo_menu_actions->ADD_ITEM( VALUE = lo_menu_item_create ).
" Set the cell editor for each column cell(link to an action)
LOOP AT lt_node_dec_tab_cols INTO ls_node_dec_tab_cols .
lv_column_name = ls_node_dec_tab_cols-object_name.
lr_column = lr_column_settings->get_column( lv_column_name ).
"Create 'lta' Ui item
CREATE OBJECT lo_lta TYPE cl_salv_wd_uie_link_to_action.
lo_lta->set_menu( value = lo_menu_actions ).
lo_lta->set_text_fieldname( lv_column_name ).
lr_column->set_cell_editor( lo_lta ).
IF ls_node_dec_tab_cols-is_result EQ abap_true.
lr_column->set_cell_design( value =
cl_wd_table_column=>e_cell_design-key_medium ).
ENDIF.
ENDLOOP.Hi Prakash,
I have not come across this requirement till now to have context menu in a cell editor of alv.
Unfortunately the implementation of method SET_MENU of alv ui elements ( ex: cl_salv_wd_uie_text_view ) is not updating alv configurable table, instead it just stores in a global attribute as string. Hence has no effect on context menu.
If your user is very particular about this requirement of having context menu in cell editor, you can go for a normal table. Because, normal table's cell editor has the property to set the menuID as we do it for other ui elements.
Regards,
Rama -
hi!
how would I go about creating a dvd menu, either within a program or in a program that can be burned with another program? I have adobe and macromedia suites, so hopefully I have the programs that are necessary, but I don't even know where to begin.
thanks!
jtw
www.jtwilliams.orgAdobe Encore will create menus for you. Encore is now bundled with Premiere pro.
-
Hi Experts,
how to create or change the Menu (like in the screenshot) .. how to create something like eWorkflow and the level below?
Screenshot:
http://img527.imageshack.us/my.php?image=exba7.jpg
Thanks in advance
CCHI,
Refer this link for create and changing the roles:
http://help.sap.com/saphelp_nw04/helpdata/en/ab/89e641813cc517e10000000a155106/frameset.htm
Display the roles based on the requirment:
Change the "Sort Priority" of the role to ' 0 '. you can view that role first in the list (Default value is 100). if u give minimun value then that will be displayed as ist role for the user.
regards,
Kathiresan R -
Adobe Photoshop Elements 11 to create custom DVD Menu
Hi,
I know that starting from EL 11 it is possible through Photoshop EL 11 to create custom DVD Menu starting from scratch.
I fail finding on the Internet proper documentation for both creating it on Photoshop EL 11 and importing/using it on Premeiere EL 11.
I sometimes wish to create a Web DVD to put on the Internet and all I need is a nice background picture and a Play button.
how to do so? Where can I get detailed documentation and vidoes?
Thank youThe only problem that you might have, other than getting all of the naming and structural aspects correct (very specific), would be with the creation of Layer Sets in PSE. I am not sure if they have been added to PSE, and they are necessary for creating the Buttons. As I use Photoshop, and do not own PSE, I cannot tell you whether Layer Sets have been added.
This discussion, in the Photoshop Forum, goes into more detail on creating Menu Sets for PrE, in Photoshop: http://forums.adobe.com/message/2490846#2490846
I strongly recommend that one spend some time with one of the PrE Template Menu Sets, studying every aspect of what is reqired. Even though I create Menus (for Encore), and Menu Sets for PrE, I still will use one of those Templates as a "guide."
Now, if PSE does not yet have Layer Sets, one can still find an existing Template Menu Set, that comes close to what they wish to do, and heavily modify that in PSE.
One thing that trips up many DVD Menu designers, when they start out, is that NO Button may overlap any other Button, even by 1 pixel.
Good luck,
Hunt
PS - if PSE has added Layer Set creation (it has been able to edit, just not create them, for many versions now), please post that information, as it will help me, in helping others. -
How to create a Sub Menu?
I know it can be done. But just can't find how to do a
submenu that shows when you roll the mouse on main menu, and hides
if your mouse is anywhere else. I can imagine that I can create the
sub-menu with a movie clip symbol containing each command or choice
as a button. But waht I don't know it how to keep it hidden and to
make it only shown when you point the main menu that should
activate ths sub menu.
Thanks for your helpYou can use click events on the main menu to trigger the
submenus and then use rollOver events to know which submenu to show
and which to make invisible.
Maybe you are looking for
-
Hi All, I pasted the error report info below that the most recent error brought up. My MacBook Pro will, on occasion, freeze up on me and usually turn the monitor completely black. This also happens occasionally when trying to boot up from a Standby
-
Hi, Im unable to open the RPD online getting following error. Note: Im not done any changes. Its works good till yesterday EOD. Error: [NQSError:13037] cannot connect to BI security service,Please make sure this is running properly (with SSL or not)
-
Recording error File not found message?
I am trying to record onto an audio track in logic. When I push the record button a error message comes up: File not found result code-43?? What does THAT mean? As long as I have a audio track selected, nothing works. I push play,..same error message
-
Loading maps to nokia 2730 phone
When I attempt to load maps to my phone 2730 a message appears stating that my phone is not equipped to accept maps I have updated my softare to no avail would the problem have anything to do with the type of sim card installed.
-
Cross tab reports in application express
Hi, Can a cross tab report be generated with the help of Oracle Application Express? Lavina