4D Systems Supporting Files
Designed to provide useful information showcasing the spectrum of features that 4D products have to
offer, through easy to read documentation supported by illustrative images and sample code extracts.

ViSi-Genie Magic Slide to Unlock

Name : 4D-AN-00151
Title : ViSi-Genie Magic Slide to Unlock
Revision : 1.0
Description : When designing GUIs (Graphic User Interfaces), it is often desirable to have a slide-to-unlock feature. This feature is commonly found in smart phones. In the standard version of Workshop 4, a stand-alone application having a slide-to-unlock feature is not possible. A host would be needed to decide when the “unlock” action is triggered, which will occur only when the slider knob is moved to the right. The new objects under the Genie Magic pane in Workshop 4 give the user more control of the program. In this application note for example, the user will learn how to create a stand-alone ViSi-Genie application with a slide-to-unlock feature in Workshop Pro.

This application note shows how to use the Magic Event object to implement a slide-to-unlock functionality. The Magic Event object is under the Genie Magic pane in Workshop 4 Pro. It contains a 4DGL code and it can be linked to standard Genie objects such as a winbutton, such that any time that the button is touched, the Magic Event object is called (or the 4DGL code is executed).
Link : http://www.4dsystems.com.au/appnote/4D-AN-00151/
Supported Processor : PICASO, DIABLO16
Supported Environment : ViSi-Genie
Subcategory : genie-magic
Files :
Difficulty : Medium
Recommendation(s) :
Title Difficulty
General How to Update the PmmC for Diablo16 Easy
General Migrating from PICASO-SGC-GFX to PICASO Easy
General How to Update the PmmC for Picaso Easy
General Partitioning a micro-SD into FAT and RAW Components Easy
ViSi-Genie Getting Started - First Project for Picaso Display Modules Easy
ViSi-Genie Getting Started - First Project for Diablo16 Display Modules Easy
ViSi-Genie onChanging and onChanged Events Easy
ViSi-Genie Advanced Buttons Medium
ViSi-Genie Inputs Medium
ViSi-Genie Labels, Text, and Strings Medium
ViSi-Genie How to Add Magic Objects Medium