PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
WidthInPixel is used to find out the width of a report control in pixels.
Remark: The border of the control is included in its width. Width is used to find out and modify the width of a control in millimeters.
Example
// Find out the width of "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 control (from report) to handle.
Remarks
The Property WidthInPixel 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