ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
grLoadParameter (Function)
In french: grChargeParamètre
Restores the parameters used to draw a chart. These parameters have been saved by grSaveParameter.
Reminder: By default, graph parameters modified by the user are saved when the application is shut down.. These parameters are automatically restored during the next start of the application. For more details, see grCreate.
Linux Caution: Using this function under Linux requires a specific configuration.. For more details, see The charts.
Example
// Sauvegarde des paramètres d'un graphe créé par programmation
INIWrite("Parametres", "MonGraphe", "Param", grSaveParameter("MonGraphe"))

// Restauration des paramètres d'un graphe créé par programmation
grLoadParameter("MonGraphe", INIRead("Parametres", "MonGraphe", "Param"))
// Sauvegarde des paramètres d'un champ Graphe
INIWrite("Parametres", "GRF_Graphe", "Param", grSaveParameter(GRF_Graphe))

// Restauration des paramètres d'un champ Graphe
grLoadParameter(GRF_Graphe, INIRead("Parametres", "GRF_Graphe", "Param"))
Syntax
<Result> = grLoadParameter(<Chart name> , <Parameters>)
<Result>: Boolean
  • True if the parameters have been loaded,
  • False otherwise.
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds to:
  • the name of the chart defined programmatically with grCreate.
  • the name of the Chart control in the window, page or report editor.
<Parameters>: ANSI character string
Parameter to restore. This parameter is compressed. It can only be returned by grSaveParameter. The value of this parameter can be saved in a file, in a memo or in the registry.
If this parameter corresponds to an empty string (""), the function has no effect and it returns False.
Business / UI classification: Neutral code
Component: wd300grf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help