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 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.threadWaitForStartWaits for the actual start of the thread before continuing the execution.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.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.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.Versions 26 and laterthreadSecureNew in version 26threadSecurethreadSecureStarts 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 ThreadStop is used.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).
Properties specific to the description of Thread variables
WLanguage functions that manipulate Thread variables
Last update: 06/01/2021
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: