Is there a way to move between cards without buttons in LiveCode? - livecode

I have 4 cards in a mainstack in livecode , each card with a next and back buttons that take you to the next or previous card .Is there a script or a way to define the program so that the transition to the next card will happen without the button next and without any button at all ?
I wrote this script in the stack script
is this right ?

If you're simply trying to initiate the navigation from a script or some other event, you should be able to script any of these:
go next card
go prev card
go card 4
go first card
go last card
If that's not what you're looking for, please describe your situation in more detail.

You can use the navigationArrows property. If this property is true the user will be able to navigate between the cards using his keyboard.
set the navigationArrows to true

Related

Can I show more than one button/option in teams using cards?

I am trying to put 8 options in a card but I need to scroll to get other options horizontally. Is there it possible to make it available in a single card
Currently you can add only 6 actions directly in an adaptive card. If you want to send more than 6 buttons here are two things you could try:
Use ActionSets which would add 6 buttons in each set.In this way you can show 12 buttons in a card. Please try this out in the AdaptiveCards Designer.
You could try using AdaptiveCard.ShowCard action to show few buttons on a different card shown on click of a button.
Please let us know if you need any further assistance.

Sequence diagram with user interaction

I am trying to draw a sequence diagram that requires user interaction. I tried to look for example online but I can't find it can anyone point me to the right direction?
I would like to draw a sequence on the ios application where I click a button that trigger the camera and wait for user to take the photo. Next this photo will be save to my database. My difficulty is how can I draw a sequence flow which ask for user input? Is there a controller that I need to add into my sequence diagram e.g iosManager for triggering the camera?
I would likely model it like this:
Complaint is the screen from where you start your complaint. It triggers the camera which comes up with it's own Camera GUI that awaits the shutter click and returns after that. The Camera controller then saves the picture and returns to the Complaint screen.
You could show the ViewController (Swift) and use an IBAction for the button press and an IBOutlet or whatever your choice for the prompt. However, I think you should feel free to add an "actor" (same character as in the use case diagram) that receives the prompt and presses the camera button if that speaks better to you.

Can I create a video controller/ overlay in LiveCode

I have been using LiveCode for a couple of weeks now and have a question.
I would like to create a custom video controller with play, stop, rewind etc with LiveCode that shows and hides at the bottom of the screen if you touch the video currently playing in the video player on a mobile device.
I have created the menu page with a selection of 4 videos to choose from and selecting any video goes to the next card and plays the video. On completing the video it goes to the previous card allowing the next selection. The video controls on the Quicktime player with LiveCode are rather crude and I would like to create a better looking interface. Is this possible with LiveCode?
Yes it is possible.
Look at the following commands and functions in the dictionary:
start command
stop command
playStopped message
currentTime property
currentTimeChanged property
playLoudness property
In addition, make sure to look at what's in each entries "see also" list.

How to put a button into each card?

I'd like to put a 'next' button onto each card of a stack. In Hypercard I could put buttons into either cards or backgrounds. I have not seen yet how it is possible to make a button appear on each card.
In LiveCode you can create a background group that can be on every card. First create your button(s) select it (them) and press "group" in the toolbar. That will create a group. In the inspector for the group you then select "Behave like a background". All new cards will have your button(s) automatically. If you already created a bunch of cards you can always add the group by selecting "Object => Place Group => " in the menu.
Backgrounds are probably the single biggest thing to unlearn if you're coming from a HyperCard background because they act a bit differently in LiveCode. But they have a lot more power than the old HC backgrounds did, so the pain in making the transition pays off well in the long run.

Move from one view to another on button click----?

I am new commer to IPhone and developed an app "display next and previous image on button click in single view based application".i want, on run my app"one start button and welcome message view" and then clicking on start button, want to move on my already developed application what i have made with Next and Back Button which are showing the next and previous images properly. Also i want, on button click (start), automatically images moves next without
clicking on Next images after some interval of time(5 sec) so that user may use the manually to move from one image to another or automatically after some interval of time.
Thanks in advance to all of you.
I don't undertand what your are saying with "on my already developed app". I you want to move between views avoid Sin
I recommend you to check UIScrollView reference guide and check the Sample Code that Apple provides.
UIScrollView Class Reference
To move between imagen using non gesture detections you can also perform some animations using
UIView animations on the IBAction of the buttons.
I'm sure that if take a look around at apples samples and guides you will develop the app so fast.

Resources