ここは旧式の4DドキュメントWebサイトです。最新のアップデートされたドキュメントを読むには新サイトをご利用下さい→ developer.4d.com

ホーム

 
4D v19
VP SET TIME VALUE

VP SET TIME VALUE 


 

VP SET TIME VALUE ( rangeObj ; timeValue {; formatPattern} ) 
引数   説明
rangeObj  in Range object
timeValue  時間 in Time value to set
formatPattern  テキスト in Format of value

説明   

The VP SET TIME VALUE command assigns a specified time value to a designated cell range.

In rangeObj, pass a range of the cell(s) (created for example with VP Cell or VP Column) whose value you want to specify. If rangeObj includes multiple cells, the value specified will be repeated in each cell.

The timeValue parameter specifies a time expressed in seconds to be assigned to the rangeObj.

The optional formatPattern defines a pattern for the timeValue parameters. For information on patterns and formatting characters, please refer to the 4D View Pro Cell Format section.

例題  

  //Set the value to the current time
 VP SET TIME VALUE(VP Cell("ViewProArea";5;2);Current time)
 
  //Set the value to a specific time with a designated format
 VP SET TIME VALUE(VP Cell("ViewProArea";5;2);?12:15:06?;vk pattern long time)



参照 

4D View Pro セルフォーマット
VP SET DATE TIME VALUE
VP SET VALUE

 
プロパティ 

プロダクト: 4D
テーマ: 4D View Pro ランゲージ
番号: 9577

 
ページの目次 
 
履歴 

初出: 4D v17 R4

 
ARTICLE USAGE

4D View Pro リファレンス ( 4D v19)