ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

Parameters of a procedure/function
You have the ability to pass parameters to a procedure.
Declaring a procedure/a function
The different syntaxes for declaring a procedure...
Calling a procedure/a function
Syntax for calling a local or global procedure.
Procedure/Function
A procedure is used to associate an identifier with a statement block...
Global procedure/function
A global procedure can be used in all the processes or events of the project.
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.
Prototype overload/Overload
The procedures and the methods of classes can have several syntaxes.
Passing parameters
The parameters can be passed to a procedure...
MyParameters (Reserved word)
The MyParameters keyword is used to handle the parameters passed to a WLanguage procedure...
Local procedure
Two types of procedures are available...
Typecasting of parameters
The description of the parameter type is optional...
<picLayer variable>.EndDrawing (Function)
Deletes all the drawings made since the last call to dStartDrawing.
<picLayer variable>.Background (Function)
Declares the default background color for the rectangles and circles, ... used in a picLayer...
<WDPic variable>.Background (Function)
Declares the default background color for the rectangles and circles, ... used in a WDPic variable.
<WDPic variable>.AlphaBlend (Function)
Blends two images together. This allows you to create fade-in effects between 2 images.
<picLayer variable>.AlphaBlend (Function)
Blends two images together. This allows you to create fade-in effects between 2 images.
<WDPic variable>.InvertColor (Function)
Inverts the colors of a WDPic variable.
<WDPic variable>.EndDrawing (Function)
Deletes all the drawings made since the last call to dStartDrawing.
<picLayer variable>.InvertColor (Function)
Inverts the colors of a picLayer variable.
<WDPic variable>.DrawLine (Function)
Draws a line in a WDPic variable.
<picLayer variable>.DrawLine (Function)
Draws a line in a picLayer variable.
<WDPic variable>.PixelColor (Function)
Identifies the color of a pixel contained in a WDPic variable.
<picLayer variable>.PixelColor (Function)
Identifies the color of a pixel contained in a picLayer variable.
<WDPic variable>.PixelOpacity (Function)
Identifies the opacity of a pixel in a WDPic image with an Alpha channel.
<picLayer variable>.PixelOpacity (Function)
Identifies the opacity of a pixel in a WDPicLayer image with an Alpha channel.
<WDPic variable>.DrawPoint (Function)
Draws a point in a WDPic variable.
<picLayer variable>.DrawPoint (Function)
Draws a point in a picLayer variable.
<WDPic variable>.Font (Function)
Declares the font that will be used by dText in a WDPic variable.
<picLayer variable>.Font (Function)
Declares the font that will be used by dText in a picLayer variable.
<WDPic variable>.DrawPolygon (Function)
Draws a polygon in a WDPic variable.
<picLayer variable>.DrawPolygon (Function)
Draws a polygon in a picLayer variable.
<WDPic variable>.DrawPolyline (Function)
Draws a line composed of multiple segments.
<picLayer variable>.DrawPolyline (Function)
Draws a line composed of multiple segments.
<WDPic variable>.DrawSlice (Function)
Draws a section of a circle or an ellipse in a WDPic variable.
<picLayer variable>.DrawSlice (Function)
Draws a section of a circle or an ellipse in a picLayer variable.
<WDPic variable>.DrawRectangle (Function)
Draws a rectangle in a WDPic variable.