ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with reports and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The WidthInPixel property is used to get the width in pixels of a control in a report.
Remark: The field frame is included in its width. The Width property gets and sets the width of a control in millimeters.
Example
// Get the width of the "ITEM_CustomerName" control
ResWidth = ITEM_CustomerName.WidthInPixel
Syntax
<Result> = <Control used>.WidthInPixel
<Result>: Real
Width (in pixels) of the specified control.
<Control used>: Control name
Name of the control (from a report) to be manipulated.
Remarks
The WidthInPixel property cannot be used on:
  • an entire report,
  • a report block,
  • a group of controls,
  • a Check Box control,
  • an Edit control,
  • an Organizer control,
  • a Scheduler control,
  • a Gantt Chart control,
  • a Signature control.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help