[サンプルコード]
Form Form1 {
X = 0;
Y = 0;
Width = 270;
Height = 80;
DateEdit DateEdit1 {
X = 10;
Y = 5;
Width = 135;
Height = 25;
Format = "YY\"年\"MM\"月\"DD\"日\"";
}
Button Button1 {
X = 145;
Y = 5;
Width = 45;
Height = 25;
Function OnTouch( e ) {
/* カレンダーヘルパーの表示 */
^.DateEdit1.ShowHelper();
/* 値確定のため、DateEditにフォーカスを当てる */
^.DateEdit1.SetFocus();
/* 値を確定させる */
//.DecideValue();
}
}
} |