Home Search

DriveWorks Pro 21
Loading Progress Image File Name

Send Feedback

Loading Progress Image File Name

The Loading Progress Image File Name property determines the location and name of the file to display.

Use this property to add your own custom loading gif the Preview Control.

Property Type: Static

A rule can also be built for this property by changing the type to dynamic.

See How To: Change A Static Property To A Dynamic Property.

Hierarchical Reference: ControlName.LoadingProgressImageFileName

Default Value: No default value is applied to this property

Supported File Types

Supported file types include:

  • *.gif
  • *.jpg
  • *.jpeg
  • *.png
  • *.bmp
  • *.wmf
  • *.emf

Recommended File Size

DriveWorks will display the Loading Image at 80 pixels by 80 pixels. For the best looking loading overlay it is recommended that you use an image that is exactly 80 x 80 pixels. A smaller image may be scaled and stretch to fill the available space.

To get a smaller loading image, you can create an image that is 80 x 80 and that has a lot of white/transparent space between the edge and the actual image.

Examples

The default value of the property can be changed by any of the following methods:

Loading Progress Image File Name ValueResult
"C:\DriveWorks\Project\Loading.gif" Will load a file called Loading.gif from the C:\ drive.
FsGetFullPathProject("\Images\Loading.gif") Will find the path to the Project file and load the image Loading.gif from the Images folder located here. This could be a local or network path.
"\\DriveWorksServer\DriveWorks\Trailer\Images\Trailer.gif" Will load a file called Trailer.gif from a network machine called DriveWorksServer.
We recommend locating all files relative to the location of the project they are being used in.

Value set in Form Designer. Static properties can be made Dynamic by double clicking the gray radio button.