-
Book Overview & Buying
-
Table Of Contents
LiveCode Mobile Development Cookbook
By :
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.
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.
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:

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...
Change the font size
Change margin width
Change background colour