Products Downloads


French version


 

You can use "methods" to work with certain objects, which opens up a number of interesting possibilities, especially where complex objects are involved.

Only a few basic graphical objects use methods (image, serial port, timer).

 

For example:

 

CALL_METHOD EMPLOYEE_PHOTO LOAD_BITMAP FILE_NAME_BMP

 

In this case, we are using the LOAD_BITMAP method to load an image object, the name of which is stored in the BMP_FILE_NAME field. The result is then displayed in the PHOTO_PERSON object.

  • Commercially available OCX and ActiveX files that you may want to incorporate into your VADELIA programs sometimes involve methods.

  • "OLE server automation" objects, such as MICROSOFT WORD and EXCEL use thousands of methods. For example, methods are what let you open an EXCEL spreadsheet folder, read or write data in a specific cell, then save and close the application.

 

 

↑ Top of page