ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The ResourceHeight property is used to get and change the height of resources in a Scheduler control where resources are arranged in rows.
Example
IF CBOX_Zoom = True THEN
SCH_MySchedule.ResourceHeight = 200
ELSE
SCH_MySchedule.ResourceHeight = 100
END
Syntax

Getting the height of resources Hide the details

<Result> = <Scheduler control>.ResourceHeight
<Result>: Integer
  • Height of the resources in pixels, if the height was modified through programming (with the ResourceHeight) property).
  • -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 columns.
<Scheduler control>: Control name
Name of the Scheduler control used.

Changing the height of the resources Hide the details

<Scheduler control>.ResourceHeight = <New height>
<Scheduler control>: Control name
Name of the 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 defined with the ResourceHeight property, the resources cannot be "anchored" according to the available size.
  • Only the value -1 can be used. The other negative values are ignored.
  • WINDEVAndroidiPhone/iPad The height of a specific resource can be modified with the Height property using the following syntax:
    Schedule_Name.Resource["MyResource"].Height = <New value>
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help