L_ENABLE
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
NSupported in Synergy .NET
|
xcall L_ENABLE(list_id)
Arguments
list_id
The ID of the list to enable. (n)
Discussion
L_ENABLE enables a list.
The current rendition for the scroll bars remains in effect whether the list is enabled or disabled.
On Windows, there is no visual difference between enabled and disabled lists. Both use the same Windows Control Panel setting for background and foreground colors. List renditions are not used on Windows except for the header (D_RND_LST_HDR) and footer (D_RND_LST_FTR) on Toolkit (non-ActiveX) lists.
On Unix and OpenVMS, an enabled list is distinguished from a disabled list by a change in renditions. When a disabled list is enabled, its body, border, title, and selected item take on new renditions. The following renditions apply:
D_RND_LST_ENA |
Enabled list’s body |
D_RND_LST_ENA_B |
Border |
D_RND_LST_ENA_T |
Title |
D_RND_LST_FTR |
Footer |
D_RND_LST_HDR |
Header |
D_RND_LST_SEL |
Selected item in an enabled list |
Examples
The following example enables the list whose ID is stored in file_lst.
xcall l_enable(file_lst)