Creating a Standard Button
I'm creating a basic navigation bar for my site and I want to create a common set of buttons that will be used to link to different sections on the site.
I have no problem creating a rectangle with text, converting it to a symbol (button), and then duplicating it to create multiple, identical buttons.
However, I don't understand how to change all of the buttons at once after they've been placed on the stage. For example, say I have 2 buttons and decide I want to change the font size for both buttons at once:
Is there an easy way to this?
When you create buttons using movieclips, you have to also create the code that controls them. So you have frames for the different states, just like you would for a button, and you create the code that works with them for those states.
When you rollover the movieclip you will have a frame for the rollover state and code that commands the movieclip to go to that frame, The same for any other state you wanted to include.
If you manually edit one of the movieclip's textfields, you will be editing all of the instances. The key again is that you use code to assign the text so that all of the instances will have different text labels when you run the file.
There are some people who will not use anything but movieclips as buttons, and have classes they create to make it an easy dealing. If you were to post a question about it, you might get some useful information of how to approach it from a regimented approach.
Similar Messages
-
Create a new button in a sap-standard-view WD4A
In webdynpro for ABAP
I have changed the text on an existing button in a sap-standard-view using configuration (change application configuration/go to component configurator/implicit configuration and then on the view-component change the text) it works perfect.....
my next step is to create a new button beside the old one with a new text on it, I created a new button by using "enhance view" (I copied the existing button) the new button appears (so far so good) but when I go into the configuration to change the text on the new button (using configuration the same way I did when I changed the text on the existing button) I cant find my new button in the view-component list....why can't I find it there so I can change the text?
Can anyone help me this one?I don't believe that the Configuration tool picks up Enhancement Objects because of the way they are linked to the original component at Runtime. Why set the text using configuration? You can control the text within the enhancement object. Do you want different texts based upon multiple configurations?
-
Is it possible to create a standard form that can be emailed to anyone and once filled out by the receiver, have a button that the receiver clicks and the form is encrypted and attached to an email back to the sender and a preset admin password would open it?
Hello Graphicsguy123,
You would need to first create the form ( or Widget in EchoSign) first to generate a url which you can paste it in the email being sent to customers. You would need to make sure you have a Document Cloud Enterprise Premium account in order to create a Widget. If you don't have the account, you can use the trial version to test it. Here is the link:
Global Trial Registration | eSign services from Adobe
-Rijul -
How to create a custom Button in a SNP planning book
Hi Experts,
I created my own Planning Book and Dataview in SNP with 3 Key Figures: KF1, KF2, KF3. Now I want to create one my own button with Macro so that when I press that button, the Macro will run to calculate: KF3 = KF1 + KF2.
I know that I can drag this Macro to one of default events like: Default, Level Change, Start. But actually, I want to create my own button so that I can handle the event as I want.
My question are:
1. How to create a custom button on the toolbar of SNP Planning book and writing macro for the button?
2. Please give me any document, material teaching about writing macro and relating to my above scenario.
Thanks very much!
Duyennx
Edited by: xuanduyen on Sep 6, 2011 9:20 AMHi,
Access the transaction "/n/sapapo/advm". In the list select your planning book/ data view and click 'Start Macro Builder' button.
In the Macro builder screen, drag and drop your macro from Macro depot to the work area.
Right click on your macro name and select 'properties'. In the pop up, next to the Assigned Push button field, there is a button 'Choose'. Click that. It will display all the available icons. In standard system, it displays more than 1000 icon. Choose any one icon which is suitable for your macro function. Close the pop up and save the macro. This will assign a push button to your macro.
In the Planning book tool bar, you can see the selected icon in the header tool bar. Just by clicking that icon, you can execute the macro interactively.
And I don't know whether we can include/design our own icon. But there are already 1000+ standard icons to choose.
Regards,
Manimaran M. -
Create a toolbar/button in Acrobat 8.0
I am sorry for my rather simple title, but at this stage I do not know what I am looking for.
I want to give the possibility for someone using Adobe Acrobat 8.0 pro to be able to save a pdf document they currently have open into a database.
For example in Office this is simple, I created an addin that got the document or email as an object and I sent the object to my MS Access database. MS Access then saves the file somewhere and I upload the file with the known path.
But maybe there is a simple way maybe I can create a button that saves the pdf in a special place and then signals either the MS Access database or even a small .dll/exe I have that this button has been clicked and then this .dll/exe can wake up the MSAccess databae and tell it to do some work.
Any help would be greatl appreciated.Ok so spoon feeding is not an option in this forum.
So could someone humour me with at least the "yes" word or "no" word.
I can create a toolbar button which will automatically load when Acrobat loads by making a Plug-in?
If my Target "Acrobat" family member is Acrobat Standard 8.1.5 (note not pro) I need to get the 8.0/8.1 SDK to help me?
My Plug-in is going to be written in Visual Studio 2005/2008?
I must learn/use C/C++ for my plugin language?
I will compile the .dll and then make it an .api file extension?
To give my .api to someone else I need only put it into the ...\Adobe\Acrobat\plug_ins?
This .api does not need to be registered (regsvr32) or something like that in the Windows registry?
I am sure that might lead to further questions but it is a good start so I know what to google to find out how to do it, and then get some sample code. -
I have Dreamweaver MX 2004 and then upgraded to
Dreamweaver Studio MX 2004 and decided to upgrade to Studio 8. At
the time I got the Studio 8 I also upgraded my computer and now my
purchased flash buttons do not work on my system. I get an error
message Macromedia Dreamweaver Could not create the flash button
because a component of Dreamweaver is missing. Please reinstall
Dreamweaver. We tried uninstall and then reinstall and still no
fix. My husband tried the software on his lap top and they work
fine. I did have Contribute installed but uninstalled it . 1. What
would the missing component be? and 2. Why didn't the reinstall
work? Thanks for the help. I need to update a couple of sites that
use the buttons and can't so far. Carolyou probably have to install the Dreamweaver update so that
you're on
version 8.0.2. just search Adobe.com for Dreamweaver update
and you
should be able to find it pretty quickly.
cpt_vom wrote:
> After a reinstall of Window XP and Drewamweaver ver.8
I'm running into a
> problem.
> When inserting a flash button I get the following
message:
> :Could not create the Flash Button because a Component
of Dreamweaver is
> missing. Please reinstall Dreamweaver:
> Not a word about which Componement missing!
> I have tried to instal Dreamweaver several times but
without result - same
> message appears.
> The button in question is 'FZ Pack 3: Multi Buttons'.
> I can insert the standard buttons with no problems and I
have also tried to
> insert this button on my second PC with succes which
could indicate a problem
> with my main PC, maybe something to do to Windows XP?
> I really would appreciate an solution to this problem
and hope somebody could
> help.
>
> Kind regards,
> Kjeld - Copenhagen - Denmark
>
> -
I would like to use mp3 files instead of Wav-files on the standard button, in the forms edit menu. I know it is possible in the interactive menu to add buttons with mp3 sound. But those buttons has not the same options and appearance as the forms buttons. We create learning books with lots of sound files in each PDF, so with wav-files the PDF gets quite heavy in Gb.
Smokerz – Thanks for the feedback. I managed to get iTunes to find the movie files on my TC by simply dragging the icons of the files on the TC into the Movies folder in iTunes. This immediately made them available for streaming on my Apple TV. Also, I learned with great relief that, despite their large size, dragging icons of my movie files into iTunes did not copy them to the C: drive on my desktop computer. Thus, it looks as if the job is pretty much done. Thanks again for your advice.
-
How to create a radio button in ALV Reports
Hi all,
Best wishes to all..
Kindly reply me to this question... that is "How to create a radio button in ALV Report"
Thanks and Regards
AnjaliHI
here is an example :
PROGRAM ZUS_SDN_BCALV_GRID_DEMO_2.
Based on: BCALV_GRID_DEMO.
TYPE-POOLS: icon.
TYPES: BEGIN OF ty_s_sflight.
INCLUDE TYPE sflight.
TYPES: button1 TYPE lvc_emphsz.
TYPES: button2 TYPE lvc_emphsz.
TYPES: button3 TYPE lvc_emphsz.
TYPES: button4 TYPE lvc_emphsz.
TYPES: END OF ty_s_sflight.
DATA:
gt_sflight TYPE STANDARD TABLE OF ty_s_sflight,
gt_fcat TYPE lvc_t_fcat.
DATA: ok_code LIKE sy-ucomm,
gt_sflight TYPE TABLE OF sflight,
g_container TYPE scrfname VALUE 'BCALV_GRID_DEMO_0100_CONT1',
grid1 TYPE REF TO cl_gui_alv_grid,
g_custom_container TYPE REF TO cl_gui_custom_container.
CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-DATA:
md_cnt TYPE i.
CLASS-METHODS:
handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
IMPORTING
e_row_id
e_column_id
es_row_no
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_hotspot_click.
define local data
FIELD-SYMBOLS:
<ls_entry> TYPE ty_s_sflight,
<ld_fld> TYPE ANY.
READ TABLE gt_sflight ASSIGNING <ls_entry> INDEX es_row_no-row_id.
CHECK ( <ls_entry> IS ASSIGNED ).
Set all radio buttons "unselected"
<ls_entry>-button1 = icon_wd_radio_button_empty.
<ls_entry>-button2 = icon_wd_radio_button_empty.
<ls_entry>-button3 = icon_wd_radio_button_empty.
<ls_entry>-button4 = icon_wd_radio_button_empty.
ASSIGN COMPONENT e_column_id-fieldname OF STRUCTURE <ls_entry>
TO <ld_fld>.
IF ( <ld_fld> IS ASSIGNED ).
Set selected radio button "selected".
<ld_fld> = icon_wd_radio_button.
ENDIF.
Force PAI followed by refresh of table display in PBO
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = 'DUMMY'
IMPORTING
RC =
ENDMETHOD. "handle_hotspot_click
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
START-OF-SELECTION.
MAIN *
PERFORM select_data.
CALL SCREEN 100.
MODULE PBO OUTPUT *
MODULE pbo OUTPUT.
SET PF-STATUS 'MAIN100'.
IF g_custom_container IS INITIAL.
CREATE OBJECT g_custom_container
EXPORTING container_name = g_container.
CREATE OBJECT grid1
EXPORTING i_parent = g_custom_container.
PERFORM build_fieldcatalog.
CALL METHOD grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'SFLIGHT'
CHANGING
it_fieldcatalog = gt_fcat
it_outtab = gt_sflight.
Set event handler for event TOOLBAR
SET HANDLER:
lcl_eventhandler=>handle_hotspot_click FOR grid1.
else.
CALL METHOD grid1->refresh_table_display
EXPORTING
IS_STABLE =
I_SOFT_REFRESH =
EXCEPTIONS
FINISHED = 1
others = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDMODULE. "PBO OUTPUT
MODULE PAI INPUT *
MODULE pai INPUT.
to react on oi_custom_events:
CALL METHOD cl_gui_cfw=>dispatch.
CASE ok_code.
WHEN 'EXIT'.
PERFORM exit_program.
WHEN OTHERS.
do nothing
ENDCASE.
CLEAR ok_code.
ENDMODULE. "PAI INPUT
FORM EXIT_PROGRAM *
FORM exit_program.
CALL METHOD G_CUSTOM_CONTAINER->FREE.
CALL METHOD CL_GUI_CFW=>FLUSH.
LEAVE PROGRAM.
ENDFORM. "EXIT_PROGRAM
*& Form BUILD_FIELDCATALOG
text
--> p1 text
<-- p2 text
FORM build_fieldcatalog .
define local data
DATA:
ls_fcat TYPE lvc_s_fcat,
ls_hype TYPE lvc_s_hype.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_BUFFER_ACTIVE =
i_structure_name = 'LVC_S_FCAT'
I_CLIENT_NEVER_DISPLAY = 'X'
I_BYPASSING_BUFFER =
I_INTERNAL_TABNAME =
CHANGING
ct_fieldcat = gt_fcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DELETE gt_fcat WHERE ( fieldname <> 'EMPHASIZE' ).
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_BUFFER_ACTIVE =
i_structure_name = 'SFLIGHT'
I_CLIENT_NEVER_DISPLAY = 'X'
I_BYPASSING_BUFFER =
I_INTERNAL_TABNAME =
CHANGING
ct_fieldcat = gt_fcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE gt_fcat INTO ls_fcat
WITH KEY fieldname = 'EMPHASIZE'.
IF ( syst-subrc = 0 ).
DELETE gt_fcat INDEX syst-tabix.
ENDIF.
ls_fcat-fieldname = 'BUTTON4'.
ls_fcat-icon = 'X'.
ls_fcat-hotspot = 'X'.
INSERT ls_fcat INTO gt_fcat INDEX 4.
ls_fcat-fieldname = 'BUTTON3'.
INSERT ls_fcat INTO gt_fcat INDEX 4.
ls_fcat-fieldname = 'BUTTON2'.
INSERT ls_fcat INTO gt_fcat INDEX 4.
ls_fcat-fieldname = 'BUTTON1'.
INSERT ls_fcat INTO gt_fcat INDEX 4.
LOOP AT gt_fcat INTO ls_fcat.
ls_fcat-col_pos = syst-tabix.
MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
ENDLOOP.
ENDFORM. " BUILD_FIELDCATALOG
*& Form SELECT_DATA
text
--> p1 text
<-- p2 text
FORM select_data .
define local data
DATA:
ls_sflight TYPE ty_s_sflight.
SELECT * FROM sflight INTO CORRESPONDING FIELDS OF TABLE gt_sflight.
ls_sflight-button1 = icon_wd_radio_button.
ls_sflight-button2 = icon_wd_radio_button_empty.
ls_sflight-button3 = icon_wd_radio_button_empty.
ls_sflight-button4 = icon_wd_radio_button_empty.
MODIFY gt_sflight FROM ls_sflight
TRANSPORTING button1 button2 button3 button4
WHERE ( carrid IS NOT INITIAL ).
ENDFORM. " SELECT_DATA
Regards,
Prasanth
Reward all helpful answers -
How to Create a Persistent button on the top HTML gallery
Hi,
In my InDesign Folio I have an article with full page HTML photo gallery. The photo grid occupies the full screen. I want to create a Persistent button on the top of this gallery which user can tap to go to the Main Menu page. This button is always visible at one place even as user scrolls up and down the gallery. I tried creating it on the top layer, and on the top layer for Master page, but the button disapperas when the HTML gallery loads.
So the user does not see any button to navigate out of the gallery to another article.
Any ideas how to create the persistent button ?
Thanks in advance.
-MPDepending on if you are using the HTML as either an article or in an overlay, you may be able to either use the standard navto and goto hyperlinks syntax or place a blank button on top of your link in the HTML.
I am not sure if using the standard navto and goto syntax will work between an HTML article and an Indesign article. Maybe Bob Bringhurst, Bob Levine, or one of the staff members can clarify. If you are using your HTML in an overlay, you can add a transparent button on top of your link or image to return to whatever page you like. -
Hello MSSCSM community,
is it possible to change the request offering mapping of the "Create a request" button (Image1)? By default it points to "Generic Incident Request" request offering. But this is related to a sealed MP and cannot be edited. So i cannot
change name, image, user prompts etc. I created a new custom request offering "Incident request" and disabled "Generic Incident Request". But now the "Create a request" button throws an error (Image2) because Generic
Incident Request is not available anymore. How to map the button to a custom request offering?
Thanks an regards
VespThanks a lot for your replies. The blog entry is very interesting for having a diffrent "Request offering" mapped to the button instead of standard "Genereic Incident Request (EN)". But i now figured out a very easy solution for me.. i unpublished and disabled "Genereic
Incident Request (EN)" and then system takes the sealed "Genereic Incident Request" (without (EN)) that cannot be edited. I simply reenabled and published "Genereic Incident Request (EN)" and now i can modify this completely and its mapped to the button
by default. I think system always uses sealed "Genereic Incident Request" as fallback. Only constraint is that i cannot change the MP and Template in Request Offering "Genereic Incident Request (EN)". But template can be edited also.. so its fine for
me. Sorry for this kind of questions, i am new to the MSSCSM topic.
Maybe this will get more flexible in future releases of scsm.
Thanks
Vesp -
ABAP WD, Change texts of the standard buttons in select options
Hi all,
I need to change the texts (Cancel, Check, Reset and Copy) of the standard buttons in select options (WDR_SELECT_OPTIONS).
How do i solve this?
ThanksHello Antonio,
Just hide the standard buttons and create your own one outside. If it's just regarding some probably missing translation, best is to go add the missing translation using se61.
Best regards,
Thomas -
Desactivate standard buttons in GUI Status
We are looking to desactivate these standard buttons in the gui status.
Button 1: Creates new session
Button 2: Generates a shortcut on the desktop
Button 3: Help
Button 4: Customizing of local layout
We thing that these buttons are set automaticaly by SAP. Is there a way to desactivate them. (SAP version 4.6C)
Help Required,
Best regards.Hello Daniel,
It is not possible to do that. The reason is that these buttons are a part of the SAPGUI. They don't come from the application server - i.e., they don't have any function codes as such. So you wouldn't be able to disable them.
Regards,
Anand Mandalika. -
Create a back button - need help
Hello JHS Team,
I am using JHeadStart 10.1.2.
I need to create a back button in a specific UIX page on my application.
I'm new to JHeadstart and I really need some help from you. Can anyone help me???
ThanksAtena,
You can add the button to your page post-generation, using the UIX Visual editor. Make sure you uncheck the Generate Pages switch for this group in your application structure file to protect your change upon regeneration.
May be an unsollicited advice:
I understand that you are new to ADF, JDeveloper and UIX. UIX is superseded by ADF Faces in JDeveloper 10.1.3, and based on the JSF standard.
UIX will not be further developed, JSF and ADF Faces are the technologies to use going forward. Therefore, I would recommend to consider to switch for your application development to JDeveloper and JHeadstart 10.1.3. For JDeveloper/ADF 10.1.3, there is an excellent developers guide available, that provides a lot of useful information, in particular when you are new to the ADF Framework.
Note that a JHeadstart 10.1.2 UIX generated application can easily be migrated to 10.1.3, you will only need to redo your post-generayion changes. So may be you can try to stick (close) to 100% generation for now, and migrate to 10.1.3 at your earliest convenience.
Steven Davelaar,
JHeadstart Team. -
How trigger workflow from workflow standard button?
Hi Experts,
From transaction FPCRPO, after excute and select 1 credit list. It shows detailed information on Application Item. We have a standard button at tab Edit which is 'Workflow' - Process Clarrfication case in workflow.
Can you please explain how to trigger this standard workflow? Pre-requisite: Workflow created from Workflow builder.
Thanks in advance.
Rgs,
TMHi,
We have a standard button at tab Edit which is 'Workflow' - Process Clarrfication
case in workflow. Can you please explain how to trigger this standard workflow?
In the button call this FM 'SAP_WAPI_CREATE_EVENT', so once you click that button this FM will execute and Event will trigger. Check this [Link|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e038cc2d-0cde-2a10-e28e-f50025578112].
Then map then event your workflow, so once the event trigger the workflow will be executed.
Regards,
Surjith -
Debugging standard button code in ALV
Hi All,
I would like to debug the "Export" button that is available on tool bar.Is it possibe? If yes, pls suggest.
Thank You,
Suresh.Hi Suresh,
On the View in Which the alv is displaying, go to methods, create a new method , type event handler, then select from drop down on standard_button_click. then put a debugger on the method and run the application. then after wards on click or select of any standard button on alv will trigger the method.from the parameters of the method you can check the button clicked and its properties.
Regards
Sarath
Maybe you are looking for
-
Can't install oracle10g on windows vista
I downloaded oracle10g for windows vista & windows from oracle's site. But when I tried to install/setup.exe,error message that says install/setup.exe contains information about the folder.Use active/checkout instead. can anyone help me how to resolv
-
Oracle 10gR2 Installation on Linux 86(CHECKING NETWORK CONFIGURATION REQ)
I tried to install oracle10gR2 on Redhat Linux X86 machine. In the middle of installation i got the following ERROR:: checking network configuration requirements check complete: The overall result of this check is : Not Executed Recommendation: Oracl
-
When i try to download any song it plays but it doesnt download
when i try to download any song it plays but it doesnt download
-
AFTER DOWNLOADED IOS 7 IN APPLE 4S WIFI GRAVED OUT. CAN ANY BODY HELP ME TO FIND SOULTUION.NOW IT SHOWING NO WIFI ADRESS ALSO.
-
I recently reformatted my computer and re-installed Adobe Premiere CS5. When starting a new project, I use to have the HDV sequence option but when I reinstalled, I noticed that it was missing, along with a few other options. I tried re-installing Pr