ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Width of the text (in pixels) in the specified control (according to the control style).You can get the width in millimeters by using the following formula: <Nb pixels> = <Screen resolution>*<Nb millimeters>/25.4 Remark: The width will be null for the unsupported controls. Only the edit controls and the Static controls are supported.
Name of the Edit control, Static control or Combo Box control.
Name of the edit control or Static control.
Text whose width must be calculated.
Configures the mode for calculating the width of the text:Versions 25 and latertWithMarginNew in version 25tWithMargintWithMarginAllows you to take into account the margins set for the control (left indentation, right indentation, etc.). This constant can be combined with the tMultiline constant. This constant is not available.tDefault(default value)Width of the text in the control.tMultilineWidth of the text in the control. The maximum width will correspond to the width of the control.tSingleLineWidth of the text while ignoring the width of the control. This constant is used to get a precision greater than the one given by the tDefault constant.
Last update: 09/18/2020
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: