%I_INFO

Return general information about an input window

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
return = %I_INFO(window_id, D_NMFLDS|D_NMSETS)

return

A value specific to the requested information. (^VAL)

window_id

The ID of the input window whose information you want returned. (n)

D_NMFLDS | D_NMSETS

Return the number of input fields or sets in the window. (n)

%I_INFO returns either the number of input fields or input sets in an input window.

Window_id must contain the ID of a loaded input window. Otherwise a fatal Toolkit error will occur.

The first example below returns the number of input fields in an input window with the window ID inpid, and the second example returns the number input sets.

num_flds=%i_info(inpid, D_NMFLDS)
num_sets=%i_info(inpid, D_NMSETS)