|
Configure Symbol Factory ActiveX and other Objects
Now we will go through and configure the appearance and animation settings on the Symbol Factory ActiveX controls
For the 'Symbol Factory Cutaway Control' to be visible on top of the 'Symbol Factory Standard Control Tank Symbol'
the 'Symbol Factory Cutaway Control' has to have a lower tab order number than the 'Symbol Factory Standard Control Tank Symbol '.To look at the tab order click 'Layout'
and 'Tab Order' on the project menu bar. This will display the tab order of the objects on the dialog as shown below. You can change the tab order by clicking on the objects.
Now let's change the 'Fill Color' of the 'Symbol Factory Standard Control Pump Symbol'
. Right click on the pump and click on the 'Properties…Symbol Factory Standard Control Object'. Click on the 'Style' tab and choose '2-Solid' from the 'FillColorMode'
list box.
Then Click on the 'FillColor' button. This brings up the 'Color'
palette as show below. Choose the 'FillColor' you want and click 'OK'. Close the 'Symbol Factory Standard Control Properties' dialog box.
Let's also change the 'Fill Color' of the 'Symbol Factory Standard Control Tank Symbol'
. Change the 'FillColorMode' to'2-Solid' and choose the 'FillColor' you desire. For our example we've chosen blue as the fill color.
Now change 'Symbol Factory Cutaway Control EmptyColor'
to blue to match the blue 'Symbol Factory Standard Control Tank Symbol FillColor'.
Now it's time to configure the 'Symbol Factory Cutaway Control'
animation. From the 'Symbol Factory Cutaway Control Properties' dialog click on the 'Animation' tab. Set the 'AnimationMode' to '1-AnalogColorFill'
and the 'BandCount' to '5'. Set the 'Style' of the 5 bands to '1-ChangeColor'. Set the 'Breakpoints' to'80, 60, 40 and 20'
respectively and the band colors as you desire.
We're almost there -- your form should be looking pretty good at this point. Next we'll start adding code to the project and
then we're done!
Previous Step - Add Controls to the Dialog | Next Step - Adding Code to the Project
|