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
The Property WidthLabel allows you to know and modify the width reserved for the label zone in an edit control or Combo Box control.
Remark: This property is useful when creating a control with ControlCreate. Indeed, during the dynamic creation of a control, the width of the caption is set to 0 by default.
Versions 22 and later
Windows Mobile This property is now available for Windows Mobile applications.
New in version 22
Windows Mobile This property is now available for Windows Mobile applications.
Windows Mobile This property is now available for Windows Mobile applications.
Example
// Enlarge the caption of edit control
SEIZE_SEASON1 Width += 150
WidthLibel width += 150
Name = "Tel. no. of " + CLIENT.NAME
Syntax

Finding out the width of the caption area Hide the details

<Result> = <Control used>.CaptionWidth
<Result>: Integer
Width (in pixels) of the caption area in the control.
<Control used>: Control name
Name of control to use. This control can be an edit control or a Combo Box control.

Modifying the width of the caption area Hide the details

<Control used>.CaptionWidth = <New value>
<Control used>: Control name
Name of control to use. This control can be an edit control or a Combo Box control.
<New value>: Integer
New width (in pixels) of the caption associated with the control.
Remarks
The control must use a style with the caption on the left. Otherwise the Property CaptionWidth is ineffective..
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment