ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Calling a procedure/a function
Syntax for calling a local or global procedure.
Declaring a procedure/a function
The different syntaxes for declaring a procedure...
Global procedure/function
A global procedure can be used in all the processes or events of the project.
Parameters of a procedure/function
You have the ability to pass parameters to a procedure.
Passing parameters
The parameters can be passed to a procedure...
Parameters of a procedure with a variable number of parameters
When the procedure uses a variable number of parameters, you must be able to handle the different parameters passed to the function in the code of the procedure.
Local procedure
Two types of procedures are available...
Typecasting of parameters
The description of the parameter type is optional...
Prototype overload/Overload
The procedures and the methods of classes can have several syntaxes.
HReadSeekFirst (Function)
Sets the position on the first record whose value for a specific item is strictly equal to a sought...
HReadNext (Function)
Sets the position on the next data file record according to a browse item.
HMigrateLinkedCompositeKey (Function)
Migrates the values of the linked composite keys coming from a file in Hyper File 5.5 format...
HMode (Function)
Changes the mode and the method for locking data files.
HModify (Function)
Modifies the specified record or the record found in memory in the data file (query or view).
HNbRec (Function)
Returns the number of records in a file, query or HFSQL view: active records, crossed records,...
iPrintImage (Function)
Sends the image file to print to the print buffer.
HReadSeekLast (Function)
Sets the position on the last record whose value for a specific item is less than or equal...
iPrintBodyComplement (Function)
Forces a body complement block to print while specifying the height of complement block.
iPrintBarCode (Function)
Prints a bar code (inside a rectangle).
iPrintBlock (Function)
Forces a report block to print.
iPrint (Function)
Sends the character string passed as parameter to the print buffer.
iDocumentPrinted (Function)
Determines whether the user printed the document from the report viewer.
iDocumentCanceled (Function)
Used to find out whether the current print was canceled by the user.
iAreaHeight (Function)
Calculates the height of a fixed-width area required to print the entire text that uses the current...
iTextHeight (Function)
Calculates the height of the font for the text to print (in millimeters).
iPageHeightLeft (Function)
Calculates the available height (in millimeters) left on the current page while taking into account...
iPageHeight (Function)
Calculates the height of printable page (in millimeters) while taking the top or bottom margins...
iImageHeight (Function)
Calculates the height of the image to print (in millimeters).
iNestedHeaderFooter (Function)
Prints (or not) the page headers and footers of nested report.
iForceComplement (Function)
Forces the printing of a Body Complement block.
iEndReport (Function)
Forces the report print to stop.
iCloseReport (Function)
Stops printing the current report immediately.
iWindowCancel (Function)
Configures the print cancel window..
iEscape (Function)
Sends an ESCAPE command or a data command to a printer.