Add or remove the border and drag bar on a list

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
xcall L_BORDER(list_id[, option, …])



The ID of the list to modify. (n)


(optional) One or more of the following list options: (n)

D_ON = Turn border on.

D_OFF = Turn border off.

D_DRAGON = Turn drag bar on.

D_DRAGOFF = Turn drag bar off.


L_BORDER allows the border and drag bar to be turned on or off for an ActiveX or Toolkit list.

List_id must contain the ID of a valid list, otherwise a fatal error will occur.

If a list’s border is off, its drag bar (caption bar) will not be visible, even if it is turned on.

D_DRAGON and D_DRAGOFF have no visible effect on UNIX or OpenVMS.

If multiple, conflicting options are specified, the option specified last has precedence.

See also

.LISTCLASS for defining a list class.


The following example turns off the list’s border and drag bar.

xcall l_border(cust_lst, D_OFF, D_DRAGOFF)