Products Downloads


French version


 

 

 

LOAD_BITMAP

Displays the graphic stored in a Bitmap file inside the object.

(The following extensions are supported for the Bitmap file: bmp, cut, emf, eps, ico, gif, iff, jpg, jp2, mng, pbm, pcx, pgm, png, ppm, psp, tif, tga and wmf.)

Syntax

CALL_METHOD NamePushButtonObject LOAD_BITMAP NameBMPFile

Parameters

NameBMPFile

ALPHA (250) type

Conditions for use The object must be a button displaying a graphic.

 

 

BMPFileName = 'D:\images\Exit.bmp'

CALL_METHOD exit_btn LOAD_BITMAP BMPFileName

 

Parameters:

ALPHA(250)

BMPFileName /* File name with full path

 

 

LOAD_IMAGE

Displays the graphic contained in an IMAGE-type variable inside the object.

The content of the variable is either an image in DIB (Device-Independent Bitmap) format or a file containing an image with one of the following extensions: bmp, cut, emf, eps, ico, gif, iff, jpg, jp2, mng, pbm, pcx, pgm, png, ppm, psp, tif, tga, wmf.

Syntax

CALL_METHOD PushButtonObjectName LOAD_BITMAP Image ReturnCode

Parameters

Image

IMAGE type

Button image.

ReturnCode

BOOL type

Method return code.

Possible return code values:

*FALSE: Error. (the content of the Image variable is not a valid image file.)

*TRUE: Operation correctly performed.

Conditions for use The object is a button displaying a graphic.

 

Note: This method is not implemented in Mobile generation.

 

 

LOAD_IMAGE_FROM_URL

Displays the graphic situated at the URL address inside the object.

The following image file extensions are supported: bmp, cut, emf, eps, ico, gif, iff, jpg, jp2, mng, pbm, pcx, pgm, png, ppm, psp, tif, tga, wmf.

 

Syntax  

CALL_METHOD PushButtonObjectName LOAD_IMAGE_FROM_URL UrlAddress ReturnCode

Conditions for use  The object is a button displaying a graphic.

 

Note: This method is not implemented in Java and Mobile generation.

 

 

SET_FOCUS

Places the focus on the object.

Syntax  

 CALL_METHOD NamePushButtonObject SET_FOCUS

Conditions for use  None.

 

 

 

 

↑ Top of page