PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
..DayHeight is used to find out and modify the height of the days in a Scheduler control where the days are displayed in row and the resources in column.
Example
IF CBOX_Zoom = True THEN
        SCH_MySchedule..DayHeight = 200
ELSE
        SCH_MySchedule..DayHeight = 100
END
Syntax

Finding out the height of the days Hide the details

<Result> = <Control name>..DayHeight
<Result>: Integer
  • Height of days in pixels if the height of the days was modified by programming (with ..DayHeight).
  • -1 in the following cases:
    • if the height of the days is automatically calculated (via the information given in the description window of the control).
    • if the resources are displayed in row. In this case, you must use ..DayWidth and ..ResourceHeight.
<Control name>: Character string (with or without quotes)
Name of Scheduler control used.

Modifying the height of the days Hide the details

<Control name>..DayHeight = <New height>
<Control name>: Character string (with or without quotes)
Name of Scheduler control used.
<New height>: Integer
  • New height of the days expressed in pixels.
  • -1 to automatically calculate the height of the days from the information given in the description window of the control.
Remarks
  • If the height of the days is defined by ..DayHeight, no "anchor" can be performed for the size of the days according to the available size.
  • Only the value -1 can be used. The other negative values are ignored.
  • To modify the width of resources, use ..ResourceWidth.
  • If breaks are found on the days, their height is returned by ..DayBreakHeight.
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment