ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

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.
Typecasting of parameters
The description of the parameter type is optional...
Local procedure
Two types of procedures are available...
<Table>.BreakIndex (Function)
Returns the index of the break header and footer for a given break in a Table control.
<Table>.InfoXY (Function)
Returns for a given position in a Table or TreeView Table control (coordinates of a control point):...
<Table>.Modify (Function)
Modifies a row in: a Table control, a TreeView Table control, a table displayed in a Combo...
<Table>.ModifyColumn (Function)
Modifies a column in a horizontal Table control.
<Table>.ModifyLine (Function)
Modifies a row in: a Table control, a TreeView Table control....
<Array>.Add (Function)
Adds an element in last position: of a one-dimensional WLanguage array. of an advanced array...
<Array>.AddLine (Function)
Adds a row at the end: of a one- or two-dimensional WLanguage array. of an advanced...
<Array>.AddSorted (Function)
Adds an element to a one-dimensional WLanguage array taking into account: the sort criteria...
<Menu>.Add (Function)
Adds an existing popup menu to the main menu of the current window.
<Image>.Copy (Function)
Copies an image to another image.
<Image>.DominantImageColor (Function)
Returns the dominant (i.e. most frequent) color of an image found in an Image control.
<Image>.AlphaBlend (Function)
Blends two images together. This allows you to create fade-in effects between 2 images.
<Image>.InvertColor (Function)
Inverts the colors in an Image control.
<Image>.ModifyLightness (Function)
Modifies the lightness of an image contained in an Image control.
<Chart>.ScatterLinkPoint (Function)
Links (or not) the points found in a "Scatter" chart.
<Chart>.ScatterPointSize (Function)
Defines the size of points in a "Scatter" chart.
<Chart>.SeriesOpacity (Function)
Modifies the opacity factor of a series in a chart.
<Chart>.MenuOption (Function)
Modifies the text of an option in the context menu of a chart.
<Chart>.Orientation (Function)
Modifies the orientation of chart axes.
<Chart>.Origin (Function)
Modifies the start and end marks on one of the chart axes.
<Chart>.Parameter (Function)
Retrieves or modifies a chart parameter.
<Chart>.LabelFont (Function)
Modifies the font used for the category labels of a chart.
<Chart>.LegendFont (Function)
Modifies the font used for the chart legend.
<Chart>.TitleFont (Function)
Modifies the font used for the chart title.
<Chart>.AxisTitleFont (Function)
Modifies the font used for the titles of the chart axes.