SWTB_Banner_Left_LogoOnly

Symbol Factory ActiveX Control
Using with VB - Passing Digital

clearpixel

SWTB_7Button_BlueLine

Passing a Discrete Value to a Symbol Factory Standard Control
to control Discrete Animation

Animation Mode Tab on Standard Control Properties Page

1. Place an instance of the Symbol Factory Standard Control on your form and pick an image you would like to animate

2. Right click on the control and bring up the Symbol Factory Standard Control property sheet

3. Select the animation tab

4. Select "1 - Discrete Color Fill" for the AnimationMode property

5. Select the number of bands of discrete animation you wish to have (1 to 5)

6. Set the Style of Animation and Color for each band

7. Click on the Apply button

8. Pass the values that you want to control the bands of discrete animation to the control using the following syntax:

SFStandard1.DiscreteValue1 = True or False

Through

SFStandard1.DiscreteValue5 = True or False

Example:

SFStandard1.DiscreteValue1 = True

Or

SFStandard1.DiscreteValue1 = blnUserVariable

Note: If more than one band is chosen and more than one of the DiscreteValueX (x = 1 to 5) properties is set to true, the control sets the highest priority to the setting of DiscreteValue1 and works its way down. 

Example:

Symbol Factory Control Setup as shown below:

Animation Tab with 3 Bands of Discrete Animation

The following table describes how the control will appear based on a variety of combinations of the DiscreteValue1 through DiscreteValue3 properties:

DiscreteValue1

DiscreteValue2

DiscreteValue3

Appearance of the Control

True

False

False

Red and Grey Blink Shaded (Band 1)

False

True

False

Yellow Shaded (Band 2)

False

False

True

Green Shaded (Band 3)

True

True

False

Red and Grey Blink Shaded (Band 1 takes priority over 2)

True

True

True

Red and Grey Blink Shaded (Band 1 takes priority over 2 and 3)

False

True

True

Yellow Shaded (Band 2 takes priority over band 3)

Previous Step - Analog Animation | Next Step - Using Events

 

 

 | HOME | TECH INFO | HOW TO USE | FREE DEMO | ORDERING

P: 1-888-665-3678 (US-Sales) or 704-849-2773 (Support & International), F: 704-849-6388
148A East Charles Street, Matthews, North Carolina, USA 28105
Copyright Software Toolbox, Inc., 1996-2007, All Rights Reserved Worldwide.