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
..ResourceHeight is used to find out and modify the height of the resources in a Scheduler control where the resources are displayed in row.
Versions 21 and later
iPhone/iPad This property is now available on Scheduler controls in iPhone/iPad applications.
Android This property is now available on Scheduler controls in Android applications
New in version 21
iPhone/iPad This property is now available on Scheduler controls in iPhone/iPad applications.
Android This property is now available on Scheduler controls in Android applications
iPhone/iPad This property is now available on Scheduler controls in iPhone/iPad applications.
Android This property is now available on Scheduler controls in Android applications
Example
IF CBOX_Zoom = True THEN
        SCH_MySchedule..ResourceHeight = 200
ELSE
        SCH_MySchedule..ResourceHeight = 100
END
Syntax

Finding out the height of resources Hide the details

<Result> = <Control name>..ResourceHeight
<Result>: Integer
  • Height of the resources in pixels if the height of the resources was modified by programming (with ..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.
<Control name>: Character string (with or without quotes)
Name of Scheduler control used.

Modifiying the height of the resources Hide the details

<Control name>..ResourceHeight = <New height>
<Control name>: Character string (with or without quotes)
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 defined by ..ResourceHeight, no "anchor" can be performed for the size of the resources according to the available size.
  • 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:
    Schedule_Name..Resource["MyResource"]..Height = <New Value>
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment