S_UPDATECB

Update a check box selection window

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
xcall S_UPDATECB(window_id, num_flags, flag_array) 

window_id

The window ID of the loaded selection window. (n)

num_flags

The number of flags. (n)

flag_array

The array of true/false flags (which must have at least as many elements as the selection window has fields). (n)

S_UPDATECB updates the check mark characters in a loaded check box selection window.

Before you call S_UPDATECB, make sure the selection window meets the following criteria:

Num_flags indicates both the number of elements in flag_array and the number of entries in the selection window.

Flag_array is an array of numeric true/false values. This subroutine displays a blank in the first position (the space) of each entry whose corresponding array element is false. For each true element, this subroutine displays the check mark character (which is generally an “X”) in the first position of the corresponding window entry. On Unix and OpenVMS, the value of g_chk_char determines the check mark character. On Windows, setting g_chk_char has no effect.

For information on designing check box selection windows, see Creating a check box selection window.