To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example illustrates hidden menus that slide out from the edges of the screen.
Description
Every major computing platform, whether on a desktop, or a smartphone, now uses some form of sliding menu. Menus don't just appear, but rather slide from an edge at different rates. An ideal solution would have all user interface special effects separated from the main application in a modular Sub VI.
Requirements
Steps to Implement or Execute Code
Additional Information or References
Block Diagram
The aim of this example was to use the simplest algorithm possible for creating the slide effect, with minimal CPU usage.
The Sub VI requires three inputs: The Close position, the Start position and the Splitter bar reference. Typically, the Close position is 1, and the Open position is greater than one.
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.