API version 1

- ‐

RW

date

maximum

日付・時刻の上限を指定します。

初期値は 2099/12/31 23:59:59 です。

関連項目

minimum プロパティ



使用例 CRSダウンロード

Form DateEdit{
   x = 0;
   y = 0;
   width = 800;
   height = 600;

           Label Label4 {
           X = 255;
           Y = 4;
           width = 160;
           Height = 16;
           Value = "format指定表示例(抜粋)";
   }
   Label Label5 {
           X = 465;
           Y = 4;
           Width = 71;
           Height = 16;
           Value = "MaxLength";
   }
   Label Label21 {
           x = 32;
           y = 104;
           width = 56;
           height = 16;
           Value = "minimum";
   }
   Label Label22 {
           x = 24;
           y = 136;
           width = 64;
           height = 16;
           Value = "maximum";
   }

   DateEdit DateEdit1 {
           x = 32;
           y = 24;
           width = 150;
           height = 24;
           disableHelper = FALSE;
   }
   TextBox TextBox21 {
           x = 88;
           y = 104;
           width = 150;
           height = 24;
           value = "1989/01/07 00:00:00";
   }
   TextBox TextBox22 {
           x = 88;
           y = 136;
           width = 150;
           height = 24;
           value = "2018/02/23 23:59:59";
   }
   Button Button21 {
           x = 16;
           y = 72;
           width = 83;
           height = 26;
           Title = "SET";

           Function OnTouch( e ) {
                   ^.DateEdit1.minimum = ^.TextBox21.value;
                   ^.DateEdit1.maximum = ^.TextBox22.value;
           }
   }
           DateEdit obj1[11] {
           X = 259;
           Y = 21;
           Width = 180;
           Height = 21;
           value &= ^.DateEdit1.Value;
           this[0].format = "Y";
           this[1].format = "YYYY";
           this[2].format = "MM";
           this[3].format = "MONTH";
           this[4].format = "DD";
           this[5].format = "DJ";
           this[6].format = "HH24";
           this[7].format = "HH";
           this[8].format = "MI";
           this[9].format = "SS";
           this[10].Format="n";
   }
   TextBox Label3[11] {
           X = 463;
           Y = 21;
           Width = 66;
           Height = 21;
           Border = BORDER_FLATSUNKEN;
           this[0].value &= ^.obj1[0].maxLength;
           this[1].value &= ^.obj1[1].maxLength;
           this[2].value &= ^.obj1[2].maxLength;
           this[3].value &= ^.obj1[3].maxLength;
           this[4].value &= ^.obj1[4].maxLength;
           this[5].value &= ^.obj1[5].maxLength;
           this[6].value &= ^.obj1[6].maxLength;
           this[7].value &= ^.obj1[7].maxLength;
           this[8].value &= ^.obj1[8].maxLength;
           this[9].value &= ^.obj1[9].maxLength;
           this[10].value &= ^.obj1[10].maxLength;
   }
}