Navigation control only with my custom buttons
I'm using Captivate 4 and I'd like to create an eLearning course that navigation control goes only through the cutom buttons I create. No auto continue to the next slide, etc. I've deleted the full screen invisible button with continue on it, and I disabled the skin with playback control. If it's just a page turner, it's fine. If you have inteactions using buttons, click box, the "If the user clikcs outside of the button," seems to affect the behavior of the slide. I tried different settings but it still goes to the next slide after clicking on something a few times.
For example, I tried to set allow attempts to 100 and set No Action After the last attempt. If it works as it says, then you should be able to click on the screen 100 times without activating anything. Then, it should take No action as I asked it to do. But this does not work.
So, how can I do to create a Captivate course that only navigates with my buttons, menus?
Thanks,
Hi,
Can you share this screen with me where you are controlling the navigation with those 6 buttons ?
I am in similar situation with over 120 slides to be built in with action to be controlled by user clicks.
Thanks.
Similar Messages
-
Validate.nullTest working only with the EMAIL button
Hello,
This piece of code is working just great when submiting a form by
email.
TextField1.validate.nullTest = "error"; (highlighting the empty fields when pushing the EMAIL button)
On the print button it doesn't have any effect. How can I highlight
the required fields when clicking the print button the same easy way
as with the email button? (I have other highlighting scripts but I want to use the exact same method as used on EMAIL)
Your input is really appreciated! And any explanations for this stupid behavior?To make this functionality you can use two buttons trick:
First button Print, onClick event should has this script: realPrintButton.execEvent("click").
Second button is invisble Print button.
So, when you click on your first button print validation is appear and real print will be executed. -
Close a popup window with a custom button
Hi All,
I have two components A and B.
I will call one of the view of B in A as a pop up
Component A
Component B
as popup
BTN
Pressing of BTN which is a custom button created in component B must close the popup screen(Exit Component B).
I have tryied using Exit outbound plug in the corresponding window of Component B, but still it is not closing.
Can any one help me to solve this problem?OK here is the logic for the second option..
1. create a node in the component controller of the component B. make it interface node. ( say its name as WIN_NODE)
2. create an attribute there of type (type ref to IF_WD_WINDOW) (name as WIN)
3. create the same node in the view where you have the close button (custom close button). map it to the component controller
node.
then the same node will be present in the interface controller
view component controller interface controller
WIN_NODE-->WIN_NODE--
>WIN_NODE
WIN-->WIN--
>WIN
now go to the component A,
there you must have declared component B as the used component.
4.go the view which fires the window creation .
5. there go to the properties tab and add the interface controller or Component B as used controller.
6. After that go to context tab and create a node WIN_node having attribute WIN there also.
7. Map it to the node of interface controller of component B.
8. Now the coding part.
a.) in the component A which fires the event of opening the window, write the following code in the event handler.
data lo_window_manager type ref to if_wd_window_manager.
data lo_api_component type ref to if_wd_component.
data lo_window type ref to if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_window_for_cmp_usage(
interface_view_name = 'WIN2'
component_usage_name = 'TEST'
* title =
close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
DATA lo_nd_win_node TYPE REF TO if_wd_context_node.
DATA lo_el_win_node TYPE REF TO if_wd_context_element.
DATA ls_win_node TYPE wd_this->element_win_node.
DATA lv_win LIKE ls_win_node-win.
* navigate from <CONTEXT> to <WIN_NODE> via lead selection
lo_nd_win_node = wd_context->get_child_node( name = wd_this->wdctx_win_node ).
* get single attribute
lo_nd_win_node->set_attribute(
EXPORTING
name = `WIN`
value = lo_window ).
lo_window->open( ).
you might be already having the code for opening and creating the window add the logic for passing the window instance to
context there as shown above.
b) in the context B fetch the window instance in the eventhandler of the close button and close it.
DATA lo_nd_win_node TYPE REF TO if_wd_context_node.
DATA lo_el_win_node TYPE REF TO if_wd_context_element.
DATA ls_win_node TYPE wd_this->element_win_node.
DATA lv_win LIKE ls_win_node-win.
* navigate from <CONTEXT> to <WIN_NODE> via lead selection
lo_nd_win_node = wd_context->get_child_node( name = wd_this->wdctx_win_node ).
* get element via lead selection
lo_el_win_node = lo_nd_win_node->get_element( ).
* get single attribute
lo_el_win_node->get_attribute(
EXPORTING
name = `WIN`
IMPORTING
value = lv_win ).
lv_win->close( ).
thanks
Sarbjeet singh -
How to control Action in a Custom Button - SRM 7.0
Hi SRM gurus,
We have an issue to add a new button in Bidder responseu201D window when we process an RFX. We follow these steps:
1. Defined and designed a new action called ZZMYACTION, type u201805u2019 (header) and for BUS2202 (Vendor Bid).
2. Configured the control of action on header level for displaying and editing.
3. Added a new button in Webdynpro Component FPM_OIF_COMPONENT, configuration ID /SAPSRM/WDCC_FPM_OIF_QTE_PURCH. It was added as u201COTHER_FUNCTIONSu201D button. It was configured with ELEMENT ID = u2018ZZMYACTIONu2019 and FPM Event ID = u2018ZZMYACTIONu2019.
4. We created a post-exit for method ONACTIONBUTTON_PRESSED in view CNR_VIEW of the webdynpro. We encode this post-exit following next thread:
So we have the control of the button. We have now a problem, because we raise our event ZZMYACTION, butu2026 ¿how can we configure this event? The purpose of this button is send an email to the bidder answering him about the result of the RFX, but I donu2019t know where do I have to put my code to do this.
Anybody can help me to define the event? What am I missing? In addition, I would like to know in the event the bidder, sou2026 how do I send this to my code?
Many thanks in advance
Best regards,
Valentín.Hi Valentín,
If you want to control the event raised by your button, you should create a post-exit in class /SAPSRM/CL_CH_WD_IDEN_PUR_RFX, method /SAPSRM/IF_CLL_IDENT_MAPPER~HANDLE_EVENT. I hope this can help you.
There you can find a standard example to implement your code. It could be like this:
DATA: lv_qte_guid TYPE bbp_guid,
lv_parent_guid TYPE bbp_guid,
lv_folder_url TYPE string,
ls_url_components TYPE /sapsrm/s_wd_ui_url_components,
lo_navigation_service TYPE REF TO /sapsrm/if_ch_wd_navi_serv,
lo_cmp_api TYPE REF TO if_wd_controller,
lo_comp TYPE REF TO if_wd_component,
lo_window_manager TYPE REF TO if_wd_window_manager,
lo_ext_win TYPE REF TO if_wd_window,
lo_task_container TYPE REF TO /sapsrm/if_cll_task_container,
lv_url TYPE string,
lo_bom_qte TYPE REF TO /sapsrm/if_cll_bom_qte,
lo_comp_controller TYPE REF TO /sapsrm/iwci_wdi_l_fpc_general,
lo_techbid TYPE REF TO /sappssrm/cl_techbid_cfolder,
lv_urlpart2 TYPE string,
lt_partner TYPE TABLE OF bbp_pds_partner,
ls_partner TYPE bbp_pds_partner,
lv_bidder_guid TYPE bu_partner_guid,
ls_obn_components TYPE /sapsrm/s_wd_ui_obn,
lt_url_params TYPE wdy_key_value_table,
ls_key_value TYPE wdy_key_value,
lv_title TYPE string,
lo_portal_mngr TYPE REF TO if_wd_portal_integration,
lo_message_handler TYPE REF TO /sapsrm/if_ch_wd_map_msg_hdlr,
lx_pdo_error_gen TYPE REF TO /sapsrm/cx_pdo_error_gen.
TRY.
CALL METHOD core_object->get_task_cont(
IMPORTING eo_task_container = lo_task_container ).
lo_bom_qte = lo_task_container->get_bom_qte( ).
CALL METHOD core_object->get_task_cont(
IMPORTING eo_comp_controller = lo_comp_controller ).
CALL METHOD lo_bom_qte->get_parent_bo_details
IMPORTING
ev_parent_guid = lv_parent_guid.
CALL METHOD lo_bom_qte->/sapsrm/if_cll_bo_mapper~get_bo_guid
RECEIVING
rv_bo_guid = lv_qte_guid.
CASE io_event->mv_event_id.
WHEN 'ZZMYACTION'.
Your code here.....
ENDCASE.
CATCH /sapsrm/cx_pdo_error_gen INTO lx_pdo_error_gen.
lo_message_handler->add_exception( io_pdo_error_exception = lx_pdo_error_gen ).
ENDTRY. -
Hi all.
I have installed firefox 4 and i have an issue which for start i dont know if it is supposed to be so or not.
When i maximize firefox ,Navigation bar is mixed (shown below) the orange button on the upleft of my screen.Also is shown below of the 3 windows buttons (min,max,close) of the windows 7 in the upperight of my screen.
Is this supposed to be so?
I also have some screenshots if you would like to see :
www.1dagios.com/firefox4-1.jpg
+
www.1dagios.com/firefox4-2.jpg
Thank you for your time reading this and excuse my lame English.
Regards,
The_Observer.Any news on this.
I think it has something to do with the add on : Tabgroups manager.
If i disable this add on then everything works normally.
Also when this add on is enabled my tabs are always below adress bar ,no matter what. -
How to control scheme with JSF commandLink/Button tags?
Ok, so I've a problem using JSF on Sun AS 9.0.1 when deployed behind an SSL accelerator in production.
Because secure requests get to the app server unencrypted, I am unable to use regular declarative security user-data-constraint/transport-guarantee/CONFIDENTIAL in web.xml, or it gets in an infinite loop redirecting to https.
Tomcat 5 provides a way to customize the default behavior (see http://www.unc.edu/~adamc/docs/tomcat/tc-accel.html), but I'm not going to be able to use this until Sun AS 9.1 comes out... :(
So in the meantime, I'd just like to control the schemes on my links and action post, but JSF doesn't seem to support it! <commandLink/Button>s don't seem to allow you to change scheme. If you put a full URL in the action, it fails to lookup the full URL w/ scheme in the faces-config.xml...
Is this a Glassfish bug or a JSF oversight?
I'd appreciate any workaround idea the community would be willing to share. :)
Thank you,Hey guyz plzzz help
In my navigation rule , generally i call any other jsp, instead of it can i call controller servlet ? And now every action corresponding to any button will call this servlet.
can i call servlet ? -
I have problems with custom buttons in Captivate 5. The button is not switching from the _up stage to _over stage, but when I click on it the _down stage works fine. It is not a problem with the naming of the buttons. They are all with the same name and in lower case. I have tried with various custom buttons and the problem is the same. There is no problems with the standard buttons from the Adobe Gallery, so it is a bit strange, also strange that it is only the _over stage that causes problems.
The buttons I have made in Adobe Illustrator. Have tried both exporting in png and bmp format. It is the same problem.
Hope someone has some idea as to what can be wrong.Hi Manish,
I have uploaded the zip file with the button files to Acrobat and mailed you the link.
Look forward to hear if you find a reason or more importantly a solution :-)
Kind regards
Rene -
My sound is working but i can't control it with buttons.
Hi, my sound is working but i can't control it with the sound buttons on my keyboard. Whenever i try, it doesn't change and there's a little sign like
( / ) underneath it. Can anybody help me?Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
- Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar -
Navigation Controls on Reports
Hi
Can anyone tell me how to move the navigation control on my report.
I set the pagestrem=yes, the Page Navigation Control Type to Text and the Page Navigation Control Value with the default code, and the only thing i get is just 5 buttons on the lower side of my page, how can i move those buttons to the upper side, is there some template that's needed to be edited or what?
For your time and help, thanksThe hell with you guys, i was hopping to get, at least one reply.
Thanks for your help and for your comprehension
Message was edited by:
user580244 -
What Custom button in ALV has been clicked?
Hi Experts,
I have written one WDC where in i have created an ALV with two custom buttons in it. One is to Search the company code with Function code as 'SEARCH', and the other is to export the result in to an excel file, this button function code is 'EXPORT'.
I have created these two buttons in the WDDOINIT method of the view, say MAIN.
I have created a method, say 'function_button' in the MAIN for the event ON_FUNCTION, to handle any events that happens on these custom buttons.
The problem is whatever the customized button i click in the ALV the entire code of the method 'FUNCTION_BUTTON' is being executed.
Now, I want to get the function code of the button clicked in my ALV, so that i can only execute the portion of the code that needs to be executed.
Please let me know the ways to tackle this problem.
Thanks in advance.
Good day!Hi Shashi,
Check the following blog to handle ALV custom function.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/101df93f-4b5c-2910-14aa-9eb0338c2110
Regards,
Karthick S -
Adding custom buttons to JOptionPane
Hi,
I need to add custom buttons to my showMessageDialogue boxes.
I know that
JOptionPane.showMessageDialog
(null, "message body", "message title", JOptionPane.YES_NO_OPTION,
JOptionPane.INFORMATION_MESSAGE);displays an information box with a 'Yes' and a 'No' button. But how do I include three or more custom buttons on such a box?
For example, I want to display an information message box with buttons: 'Auto', 'Prompt' and 'Never'.
What if I want to mix orthodox buttons, with my custom buttons? For example, putting 'Auto', 'Prompt' and 'Cancel' in one information message box?
Thanks,
Hasanka.Use the last method for showMessageDialog. The options[] paremeter can take an array of Strings and return to you which button was pressed (by index).
showOptionDialog
public static int showOptionDialog(Component parentComponent,
Object message,
String title,
int optionType,
int messageType,
Icon icon,
Object[] options,
Object initialValue)Brings up a modal dialog with a specified icon, where the initial choice is dermined by the initialValue parameter and the number of choices is determined by the optionType parameter.
If optionType is YES_NO_OPTION, or YES_NO_CANCEL_OPTION and the options parameter is null, then the options are supplied by the Look and Feel.
The messageType parameter is primarily used to supply a default icon from the Look and Feel.
Parameters:
parentComponent - determines the Frame in which the dialog is displayed; if null, or if the parentComponent has no Frame, a default Frame is used
message - the Object to display
title - the title string for the dialog
optionType - an integer designating the options available on the dialog: YES_NO_OPTION, or YES_NO_CANCEL_OPTION
messageType - an integer designating the kind of message this is, primarily used to determine the icon from the pluggable Look and Feel: ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGE
icon - the icon to display in the dialog
options - an array of objects indicating the possible choices the user can make; if the objects are components, they are rendered properly; non-String objects are rendered using their toString methods; if this parameter is null, the options are determined by the Look and Feel.
initialValue - the object that represents the default selection for the dialog
Returns:
an integer indicating the option chosen by the user, or CLOSED_OPTION if the user closed the Dialog -
Hey frineds can any one tell me how can i make a UI class for my custom component?
Let me explain this is detail
I have a custom button called MyButton extended From JButton. I can change its appearance at runtime if i define my own UIClass called MyButtonUI which is extended from Basic ButtonUI.
One way to apply the ui to Mybutton is using method setUI().
But the much better way is to define our own look and feel class and setting defining buttonUI in it. This is done as follows
protected void initClassDefaults(UIDefaults table)
super.initClassDefaults(table);
table.put ("ButtonUI", "MyButtonUI");
}But this method sets the newly created UI to every swing button including the button used in comboBox !!
Can Any one tell me how can i set the ui that is applicable only to MyButton.
Thans in AdvancedYou should override the method getUIClassID() in your MyButton class which returns something like MyButtonUI. Then you put this in the default table:
protected void initClassDefaults(UIDefaults table) {
super.initClassDefaults(table);
String pkg = ...;
table.put ("MyButtonUI", pkg + "MyButtonUI");
}Then you apply the UI only to your custom buttons. -
[Solved] Keep the last button pressed with a custom style
Hello,
I have a VBox with 20 buttons and I have this style applied (menu.css) (only for VBox wrapper):
.button:focused {
-fx-background-color: #0768A9;
-fx-text-fill: #FFFFFF;
But when I pressed other button outside the VBox the style disappears, because the other button get the focus.
I'm afraid I'm taking the wrong way.
How I can do to keep the last button pressed with a custom style? (Only for buttons containing the VBox).
Best regardsI created a simple method to change background colors in buttons:
private void setSelectedBtnStyle(Button bboat) {
// Change style oldSelectedBoat
selectedBoat.setStyle("-fx-background-color: white;-fx-text-fill: black;");
// oldSelectedBoat var change to newSelectedBoat
this.selectedBoat = bboat;
// Change style newSelectedBoat
selectedBoat.setStyle("-fx-background-color: #0768A9;-fx-text-fill: #FFFFFF;");;
Surely not the best solution, but it works for me.
Best regards. -
Clear items's form when press Add or Find button of navigation controls
Hi all. Sorry my english.
I have a form bound to a user table.
Each one of their items is set whith a field...
I set the form as automanage. This is the way to work with the navigations control. (It work for me perfectly)
The problem is when i press the button add or find of the navegation control. The form's items not change their values or set blank.
How can i do to set blank every form's items without generate a event?. can the form do it automatly?
ThankHi Antonio,
I assume you are not using a user defined object. If you're using a user-defined object this is done for you automatically. If not, you have to clear the field values manually yourself as if you're setting a blank value to the field via code.
You can maybe implement a generic procedure where you loop through all the controls on the form and then set the caption/text/selected combo box property.
Hope it helps,
Adele -
How to control custom button display or hide in toolbar
I had been added four buttons in Acrobat Tool bar.
Now I find a function AVToolButtonSetComputeEnabledProc in SDK that this function only control the button enable or disenable.
Now I want to control the custom button display or hide, how can I to do?
Does this SDK have a API to achieve my need?As of Acrobat X, we no longer support dynamic hiding/showing – only enable/disable.
Maybe you are looking for
-
Ideas for a diary/events column
Hello I am thinking about introducing into my site an events column (about 2" wide x 3-4" deep) which would show the title and date of a particular industry event (perhaps with a very brief introduction underneath). I would probably need to fish arou
-
Windows 7 Black Screen solution found, needs to be verified.
Hi all, I've seem to have found a way to get Windows 7 64Bit working and more or less avoid the black screen that bugs the **** out of iMac 27" owners. This method will probably work on any version of Windows 7 32 and 64-Bit. This is tested with an W
-
I put parental controls on my sons mac book air and now he is unable to get onto many needed sites. I would like to change the restrictions but unfortunately I can not remember my passwords. How can I find my passwords?
-
Two Instances of Clamshell emulator
Hello, Is it possible to run two instances of the clamshell phone emulator?. I wanted to test a bluetooth application, so I would need either two instances of the clamshell or two instances of the application on the same emulator. Is this possible? T
-
I was recently hire by one of my sisters friends to set up a new computer and to repair wireless router. The client asked me to copy music files from their old computer to an external hard drive so that they could be transfered to the new computer.