%U_WNDSTYLE

Change the style of a list or window

WSupported on Windows

 

 

 

status = %U_WNDSTYLE(D_LST_STYLE|D_WND_STYLE, id [, D_LEADING|D_NO_LEADING]) 

or

xcall U_WNDSTYLE(D_LST_STYLE|D_WND_STYLE, id [,D_LEADING|D_NO_LEADING])

status

True if successful; false if id does not exist. On Unix, always returns false. On OpenVMS, always returns true. (^VAL)

D_LST_STYLE

Change a list style.

D_WND_STYLE

Change a window style. (n)

id

The ID of the list or window. (n)

D_LEADING

(optional) Windows are spaced to allow edit control frames. (default) (n)

D_NO_LEADING

(optional) Windows are spaced according to font height. (n)

%U_WNDSTYLE changes vertical spacing (leading) on a window-by-window and list-by-list basis. By default, leading is added to all windows, lists, and the application window, to allow for input windows and lists to incorporate edit controls with frames without clipping text. Calling %U_WNDSTYLE with D_NO_LEADING eliminates this extra vertical space. We do not recommend using this style on windows processed using I_INPUT, as any fields that are vertically adjacent will occlude each other.