4D v13

TimePicker SET STEP

Home

 
4D v13
TimePicker SET STEP

TimePicker SET STEP 


 

TimePicker SET STEP ( objectName ; step ) 
Parameter Type   Description
objectName  Text in Name of subform object
step  Time in Interval between two time values

The TimePicker SET STEP command is used to set the step between time values available for the object designated by objectName. This parameter only applies to TimePickers displayed as pop-up menus. 

The step value must be included between 1 minute and 1 hour and must be shown as whole divisions of 60 minutes. In practice, only the values 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30 and 60 min are possible. Any other value will automatically be rounded off in order to correspond to this principle.

Example  

Configuration of the TimePicker in the form of a pop-up menu named "time1", limitation of enterable times from 8:30 to 16:30 with 10-minute steps:

 TimePicker SET MIN TIME("time1";?08:30:00?)
 TimePicker SET MAX TIME("time1";?16:30:00?)
 TimePicker SET STEP("time1";?00:10:00?)

 
PROPERTIES 

Product: 4D
Theme: TimePicker

 
INDEX

Alphabetical list of commands

 
HISTORY 

 
SEE ALSO 

TimePicker SET DEFAULT STEP