Using a progress bar
Progress bars are great for presenting the user with a visual status such as load time. MobGUI provides a nice slider that is mobile ready. In this recipe, you will learn how to use a MobGUI progress bar.
Getting ready
Before using this recipe, you will need to have the MobGUI plugin downloaded and installed on your development computer. See the Setting up MobGUI recipe discussed earlier in this chapter.
How to do it...
Follow the steps in this recipe to create a progress bar using MobGUI:
- Create a new main stack in LiveCode.
- From the Development menu, navigate to Plugins | revMobGUI.
- Click on the play button, shown in the following screenshot, from the icons on the MobGUI interface:
- Drag the icon from the MobGUI interface to the card. This will result in a group being added to the card.
- Click on the new slider group so that it is selected.
- In the MobGUI interface, change the name of the slider to
myProgressBar
. - You can change the value of the progress bar with the following...