BLOBFORMAT keyword

Applies To

Button and static form components.

Component property: Format.

Description

Specifies the type of data in a component bound to a property that contains binary large object (BLOB) data.

Syntax

BLOBFORMAT( ext )

Part Description
ext An expression that evaluates to a three-character string specifying a binary file extension, such as, BMP, JPG, TIF, or GIF.

Remarks

For button and static type components, if you specify BLOBFORMAT(bmp), WinStudio dynamically builds and displays bitmap graphics stored in the property data.

To enable the following commands on the Edit menu:

  • Import Binary Data for Current Field
  • Export Binary Data for Current Field
  • Delete Binary Data for Current Field
  • View Binary Data for Current Field

For a component bound to a binary property, you must set the BLOBFORMAT( ) parameter for the component. During import and export operations, WinStudio displays in the open and save dialog boxes only files with the extension specified by the parameter. In the view operation, WinStudio creates a temporary file with the extension specified by the parameter and then opens it with the program associated with this extension.

相关主题