Width Checking: Options

The four Width Checking Options, set in the dialog box that pops up whenever you request a Width Check, control the contents of the report that VBLM will generate when you click OK.

image\R_FRMWCOPT.gif

The first three options are threshold values for ratios that will be calculated for each translated property (ratio #1) or embedded string (ratios #2 & #3) in the project. The item will be flagged and included in the report whenever the calculated value matches or exceeds the threshold value:

Translated_Property_TextWidth / Control_Width

This ratio, which can be varied from 0.5 to 2.5 and has a default value of 0.9, compares the textwidth of translated control property strings with the width of the control. Width measurements are made using the ScaleMode of the control's container and the control's font, if set. If the control definition does not include a font, the measurement is made using the default font that VB assigns to the control. When set to 1, VBLM reports overflows but not crowding (see diagnosis). Only calculated for control properties, not embedded strings (or menu captions, because menus have no width property).

Translated_String_TextWidth / Original_String_TextWidth

This ratio, which can be varied from 1.0 to 5.0 and has a default value of 1.5, compares the textwidth of translated strings with the textwidth of the original. Width is measured in twips using VB's default font. The ratio is calculated for properties as well as for embedded strings, but exceeding the threshold triggers inclusion in the report only for embedded strings and menu captions.

Translated_String_Length / Original_String_Length

This ratio, which can be varied from 1.0 to 5.0 and has a default value of 1.5, compares the length (in characters) of translated strings with the length of the original. This ratio is calculated for properties as well as for embedded strings, but exceeding the threshold triggers inclusion in the report only for strings and menu captions.

The fourth option Check Properties / Embedded Strings is a bit more obvious: VBLM only width checks and reports on the type(s) of strings -- properties or embedded strings -- that you tell it to check.

See Also

Width Checking: Overview

Width Checking: Viewing Reports

Width Checking: Printing Reports