KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Using the Switch every x Ticks option
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: October 21, 2005
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

It is possible to animate picture buttons using the Switch every x Ticks option. Enabling this option will cycle through the contents of a picture button at the specified speed (in ticks). If you enter 5, the thumbnails will change every 5 ticks.

1. In the Design environment, open the Form editor
2. Open the Object Property List for the picture button
3. Locate the Animation section in the Object Property List
4. Enter a value to Switch every X Ticks
5. Open your form in User mode and watch the button change