PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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.
Note: 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 Name>..WidthInPixel
<Result>: Real
Width (in pixels) of the specified control.
<Control Name>: Character string (with or without quotes)
Name of control to use.
Remarks
..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