Resource Manager
71
TPDesign4 (v3.2 or higher)
Working With Dynamic Images
Use the Dynamic Images tab of the Resource Manager (see FIG. 60 on page 64) to manage dynamic image
files.Dynamic Images are images that exist on an HTTP server or FTP server, external to the panel.
To use dynamic images in your project, specify a URL rather than a directory path to a static image file.
Dynamic images can be applied to all button types except Computer Control and Text Area buttons.
The Dynamic Images tab of the Resource Manager dialog provides a convenient way to import and
preview all dynamic image files to be used in your project.
Dynamic images can be refreshed at specified regular intervals or via the Panel > Refresh
Dynamic Images option.
Use the Scale Bitmap To Fit state property to automatically scale (down only) the dynamic image to
fit the button in which it is being displayed.
Adding Dynamic Image Files To Your Project
To add dynamic image files to the Dynamic Images tab of the Resource Manager dialog:
1. Select Panel > Resource Manager (or click the toolbar button) to open the Resource Manager dialog.
2. Open the Dynamic Images tab.
3. Click the New button to invoke the Create Dynamic Image dialog (FIG. 70):
4. Fill in the fields provided:
In addition to Dynamic Images, TPDesign4 also supports DynaMo Dynamic Images
(motion-JPEG), as well as DynaMo Resource Images (enhanced Dynamo images).
FIG. 70 Create Dynamic Image dialog
Create Dynamic Image dialog options
Name: Enter a name for the dynamic image resource.
Protocol: Select the desired protocol (HTTP / FTP).
Host: Enter the host name, which must be a fully qualified DNS or IP address.
Path: The path must be a valid HTTP URL minus the protocol and host.
Note: The only exception to this is the inclusion of special escape sequences and in the
case of the FTP protocol, regular expressions.
File: Enter a file name that must be the full path to the location of the file or program that will
return the resource.
User: Enter the user name for authentication.
Password: Enter the password for authentication.
Comments to this Manuals