Transferring variables and fields follows the regular List & Label principle. Three "API variations" can be used for the registration.
API |
Description |
LlDefineVariable() |
Defines a variable of the type LL_TEXT and its content. |
LlDefineVariableExt() |
As described above; additionally can be transferred along with the List & Label data type. |
LlDefineVariableExtHandle() |
As described above, except that the content must now be a handle. |
One example in which a "text" type variable is registered looks like this:
LL.LlDefineVariableExt('MyVariable', 'Content', LL_TEXT);
You can find the constants for the List & Label data types in the cmbtll29.pas unit located in your List & Label installation directory.