Tuesday, January 15, 2008

Cabin Crew Gain Weight

WinDev 12 - Using MesParamètres

This instruction allows WLanguage pass as parameters to a procedure that is desired by the operator *.

Example:

PROCEDURE Calculation (pParam1, *)

* In this procedure represents the other possible parameters.

These optional parameters are accessible via the instruction MesParamètres.

The most interesting, with this statement is that it can access properties of an object. For example if you want to change the visibility of a column in a global procedure can Pass in the procedure the full name of the column:

Example code:

/ / code of a button
ModInterface ( Fen_Fenêtre1.Table1.Col_Colonne1, false)

PROCEDURE ModInterface (*)

MesParamètres [1] .. visible = MesParamètres [2]

0 comments:

Post a Comment