PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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.
Versions 18 and later
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
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,
  • Versions 21 and later
    a Signature control.
    New in version 21
    a Signature control.
    a Signature control.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment