Adobe Captivate: Prevent states from looping back to the beginning - adobe-captivate

Using Adobe Captivate 9. I have a text box which changes states to show different info on a single slide.
On the slide there is a forward and back button which changes the state of the text box. When clicking the next button on the last state it goes back to the first state. Is there a way to prevent this? Or hide the next button when on the final state.

You can build an advanced action to control moving through the state. First creat a variable that equals 0. Second create an advanced action that adds 1 to the variable each time you click the the next button to move through the state (-1 for the previous button). On a new tab in the advanced action, create a conditional action (if variable = number of clicks to get to last state, then hide button). Do the same for the previous button (if variable = 0, then hide previous button). You will also want one to show the buttons (if variable is not equal to 0, then show previous button) and (if variable is not equal to number of clicks, then show next button).

Related

looking for plsql code based on oracle apex layout design

I have created a hidden item "P1_DOCUMENTS_COUNT" with default of 1. used plsql too increase it when users clicks the button "add row". Created 10 times the following row of items (# for the row number): P1_DOC_DATE_#, P1_DOC_DESCRIPTION_#, P1_DOC_NAME_#, P1_DOC_CATEGORY_#, P1_DOC_FILE_BROWSER_#. at the beginning - rows 2-9 will be hidden. when P1_DOCUMENTS_COUNT = n, show rows 1,2,...n.
Issue is I have cancel button on each row, I am looking for a solution so that if none of cancel button clicks then 1 by 1 clicking add row it shows all 10 rows but if cancel button gets clicked in the middle then that row should also appear by clicking add row. hope i clear my point.
for more info please check url: Multiple conditions on single button with Dynamic Action in Oracle Apex
Instead of braking your head on it - just change the "cancel" button to a "clear" button and empty the contents of the items without hiding the row.
alternatively - create an array of size 10 and keep the information on what's been clear in it
Create 9 hidden Items with default value of 0 (these are supposed to be hidden at the time when page loads)
Now on each click of Add Row button perform PLSQL code to check whether the Row is showing of 6 Items if not then change the value of hidden item to 1 and those row will be showing.
NOTE:- There are separate DA to show and hide items, 6 Items of row based on the value on hidden items.

Simulating button click in Tcl/TK R package

I would like to simulate a button click to switch from one tab to another after a specific action has been performed. I.e. say there are two tabs, and I am currently located in the second tab. I click a button in the second tab which calls a function that changes the second tab to the first tab. I am not sure how to "mimic" the button click that Tcl/TK handles when switching tabs using the mouse. Is there a way to do this? Thank you!
Tab notebooks have a select method that does tab selection. Which tab to switch to can be chosen by a few schemes, but the important ones for most code are:
By index (counting from zero; 0 for the first tab, 1 for the second, ...)
By handle of managed child widget (often a frame, but not necessarily)

Detect selected row with force touch watchkit

Is it possible to detect selected row index with force touch? Did force touch in tableView current row is highlighted. But i can't take info about him when context menu appears. TableView method -didSelectRowAtIndex: not called with this event.
The only thing you can handle programmatically with the Force Touch is the Context Menu and this menu is associated with a specific controller, more information you will find following the link.
About the row highlighting: When you start tapping the system doesn't know what the real action is - the regular touch or the force one. So it is starting to highlight a specific area and only later find out what was the action.

Infragistics UltraWebGrid - Selected Row changes randomly

We are using Version=11.1.20111.2064 of Infragistics35.WebUI.UltraWebGrid.v11.1 and we are experiencing trouble in selecting a row. When a person selects a row near the bottom of the grid, the selected row changes to a row near the top after a few seconds. While mousing over the grid, the control seems to refresh itself a couple of times. In the end the user is frustrated because they never see the row they selected unless it is at the top.
What could be causing this? I know that I can override the client side events, but I am not sure if this is the right approach. I have the same control on another page and it does not behave the same way.
DH
Do you display any alert messages to the user in AfterSelectChangeHandler event? If so it could trigger a bug when mouse move causes row selection. If that's the case add at the end of your AfterSelectChangeHandler handler:
igtbl_getGridById(gridName).Element.setAttribute('mouseDown', 0);
Ref: http://codecorner.galanter.net/2011/11/15/ultrawebgrid-bug-row-is-selected-on-mouse-move/

Change the NewPage for a TcxPageControl in the PageChanging event

We use a page control to step through a selection process from orders to products. The first tab shows a list of orders, the second tab shows a list of products for the selected order, and the 3rd tab contains a list of properties for the selected product.
If the user choose an order with only 1 product, we want to skip tab 2 and go straight to tab 3 to show the properties of the sole product.
I thought this could be done by setting the NewPage property of the PageChanging event, but it doesn't. What is a better way? To set the ActivePageIndex within the PageChanging event instead?
I would hide the tabs so the user cannot select them at all, and then use a pair of buttons to move back and forth between the pages as needed. When the user is on page 1 and is ready to move to the next page, the button handler can decide which page to show next.

Resources