GUI applications have the ability to change images on push buttons according to their state, for example, disabled versus enabled. For GUI applications, a user specifies a bitmap that is divided into sections, each representing a different state. Web generation provides a similar capability. Where for GUI applications you had a different section of the provided bitmap designated for each state, with Web Generation, you have to provide a different image in a different file for each state. The alternative images will use the image name in the model as a base and append text to it for the four different states supported: enabled, disabled, pushed, and focused. If myimage is the name saved in the model, the series of images used will be of the forms myimage.jpg for the enabled state, myimage_disabled.jpg for the disabled state, myimage_ pushed.jpg for the pushed state and myimage_focused.jpg for the focused state. The images must be placed under the html\images\ directory, and the value in the Number of Pictures field on the Push Button Properties dialog must be set to the number of images.
|
Copyright © 2013 CA.
All rights reserved.
|
|