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 ResourceHeight allows to know and modify the height of the resources in an Scheduler control with the resources in row.
Versions 21 and later
iPhone/iPad This property is now available for Scheduler controls in iPhone/iPad applications.
Android This property is now available for Scheduler controls in Android applications
New in version 21
iPhone/iPad This property is now available for Scheduler controls in iPhone/iPad applications.
Android This property is now available for Scheduler controls in Android applications
iPhone/iPad This property is now available for Scheduler controls in iPhone/iPad applications.
Android This property is now available for Scheduler controls in Android applications
Example
IF CBOX_Zoom = True THEN
PLN_MyPlanning.HeightResource = 200
ELSE
PLN_MyPlanning.HeightResource = 100
END
Syntax

Finding out the height of resources Hide the details

<Result> = <Scheduler control>.ResourceHeight
<Result>: Integer
  • Height of the resources in pixels if the height of the resources has been previously modified by programming (with the Property ResourceHeight).
  • -1 in the following cases:
    • if the height of the resources is automatically calculated (via the information given in the description window of the control).
    • if the resources are displayed in column.
<Scheduler control>: Control name
Name of Scheduler control used.

Modifiying the height of the resources Hide the details

<Scheduler control>.ResourceHeight = <New height>
<Scheduler control>: Control name
Name of Scheduler control used.
<New height>: Integer
  • New height for the resources expressed in pixels.
  • -1 to automatically calculate the height of the resources from the information given in the description window of the control.
Remarks
  • If the height of the resources is fixed with the Property ResourceHeight, no more "anchoring" of the size of the resources according to the available size is carried out..
  • Only the value -1 can be used. The other negative values are ignored.
  • The height of a specific resource can be modified by Height with the following syntax:
    Name_Planning.Resource["MaResource"].Height = <Nouvelle valeur>
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment