tips:revmedia:v3i10a24

Uncommon Knowledge - WC_Vsp_Vlen%

Published ByDateVersionKnowledge LevelKeywords
Sprezzatura Ltd01 APR 19922.11+EXPERTWINDOW_COMMON%, WC_VSP_VLEN%, WC_CRT_VLEN%, VSPACE

The width of the original prompt for this entry. Note that the value of WC_Crt_Vlen% is used in preference to this value, thus if the user resizes a window such that a text entry is made shorter and wrapping is enabled, wrapping will occur at WC_Crt_Vlen% not as might be expected at WC_Vsp_Vlen%. To illustrate, if a window is painted with a width of 30 for a text prompt, and the user types in information, wrapping will occur at chracter position 30 (because WC_Vsp_Vlen% = WC_Crt_Vlen% = 30). If however the user presses Ctrl-F7 and resizes the window such that the visible portion of the text prompt is now only 18 characters wide, wrapping will occur at character position as WC_Vsp_Vlen% still equals 30 but WC_Crt_Vlen% = 18.

(Volume 3, Issue 10, Page 14)

  • tips/revmedia/v3i10a24.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1