ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Declaring a non-described thread Hide the details
Describing a thread via the Thread type Hide the details
Procedure to run. This parameter can correspond to: the name of the procedure to run. the name of Procedure variable corresponding to the procedure to run.
Parameters of procedure to run. This list of parameters has the following format:
(<Parameter 1>, ..., <Parameter N>)
where: <Parameter 1>: First procedure parameter....<Parameter N>: Nth procedure parameter.
Mode for starting the thread.threadFullCopyHFSQLContext(Default value)Triggers the immediate copy of the current HFSQL context.Recommended if the thread must take into account the current positions in the files and queries of caller context.threadGlobalContextForces the use of the global context of the project if the thread is run from a window. The thread will continue to run until the application is closed.The window context is used by default, therefore the thread is stopped when closing the window.threadLightCopyHFSQLContextTriggers the immediate copy of a part of the current HFSQL context. The following elements are stored: the directories where the HFSQL Classic data files are located. HFSQL Client/Server connections.threadNormalStarts the thread in normal mode. The HFSQL context is copied the first time an HFSQL feature is used.threadSecureStarts a thread in secure mode. In this mode: a compilation error will occur if the controls are accessed in the thread (or if the procedure uses the "UI" attribute). an exception will be thrown: if the thread accesses the controls at runtime,if the ThreadStop function is called.when the window that triggered the thread is closed, a request to stop the thread is generated (but the thread continues to run after the window is closed). threadWaitForStartWaits for the actual start of the thread before continuing the execution.
Properties specific to the description of Thread variables
WLanguage functions that use Thread variables
Last update: 05/26/2022
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: