ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with reports and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The WidthInPixel property is used to get the width in pixels of a control in a report.
Remark: The border of the control is included in its width. The Width property is used to get and change 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: 05/26/2022

Send a report | Local help