PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
UnloadProcedure (Function)
In French: DéchargeProcédure
UnloadProcedure is kept for backward compatibility.
In this version, to share procedures among several applications, we advise you to:
  • create a set of procedures
  • create the procedures to share in a set of procedures
  • associate the set of procedures with the different projects that must share these procedures.
The documentation for UnloadProcedure is as follows.
 
Purpose
Unload the internal procedures of a window that have been made global by LoadProcedure.
Syntax
<Result> = UnloadProcedure(<WindowName> [, <Message>])
  • <Result> is a boolean used to find out whether the procedures have been unloaded
  • <WindowName> is a character string containing the name or the alias of the window in which the procedures have been described.
  • <Message> is a boolean used to display an error message if the window procedures are not found.
Details
<Result> returns True if the unload operation was successfully performed, False otherwise.
If <Message> = True (default value), an error message indicates whether <Window Name> is not found at runtime.
If <Message> = False, no error message is displayed if <WindowName> is not found. The value of <Result> must be checked by programming.
Notes
  • UnloadProcedure must be used to load the internal procedures of other windows with LoadProcedure.
  • The internal procedures of up to 16 windows can be loaded by LoadProcedure.
  • When running a procedure, this one is sought:
    • in the internal procedures of the window,
    • then in the different "modules" loaded,
    • finally in the global procedures.
  • The procedures loaded by LoadProcedure are automatically unloaded when closing the project.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment