*RESLIB (SETMODE)
PLBCMP GUI Only
The *RESLIB list control specifies an alternative resource library containing various ICONs and PICTs.
*RESLIB={library}
Where:
library
Required. A previously defined Character String Variable or a string Literal defining the name of a dynamic link library.
Note the following:
If a character string variable is specified for {library}, only the Logical String is used. If a literal is specified, the entire literal string, within the operating system's limitations, is used.
The {library} will default to an extension of DLL if it is not supplied by the user.
A Datapoint style filename of ‘filename/ext:drv’ is converted to a Sunbelt format as follows:
If an extension is found, the '/' extension delimiter is changed to a Sunbelt extension delimiter character defined in the screen definition file. The default extension delimiter would replace the '/' delimiter with a period.
The ':drv' specification in a Datapoint filename is changed to a substituted string defined by a UET keyword that must be defined by appending the Datapoint drive identification string to 'PLBVOL_'. In the above case, the UET string must be defined as 'PLBVOL_DRV={path}' in the environment table or in the 'PLBWIN.INI' file. If the UET keyword is not found, the runtime attempts to open the file with no changes. However, if the UET keyword is found, the runtime changes the filename to '{path}\filename.ext'.
If a file name starts with a '$' character, it is scanned to the first non-alpha non-numeric character. The environment table is then searched for this entry. If a matching entry is found, the string associated with the entry is substituted within the file name. An entire file name may be substituted in this manner, or all or a portion of a file path may be specified in this manner.
Otherwise, the file name (including drive and/or path designation) must be in the valid operating system format or an I11 error occurs.
File names that are in excess of operating system allowances are truncated to meet those standards.
This keyword allows Windows drive substitution when the [SubstDrives] section of the runtime INI file is defined.
See Also: List Controls (SETMODE), SETMODE
![]() |