API version 1
- ‐
RW
integer
y¶
垂直方向の表示位置を示します。
無指定時はメインウィンドウ中央に配置されるよう自動設定されます。
関連項目
x プロパティ
使用例
CRSダウンロード
Dialog Dialog_1_2(Dialog.DIALOG_MODELESSCHILD) {
Title = "Dialog_1_2";
/* Dialogの表示位置が指定できます */
X=400;
Y=300;
Form Form1 {
Width = 277;
Height = 158;
Label Label1 {
X = 28;
Y = 23;
Width = 226;
Height = 42;
Value ="このダイアログはDialog.DIALOG_MODELESSCHILDです。";
}
/* モーダル設定(確認)ボタン */
Button Button1 {
X = 37;
Y = 84;
Width = 83;
Height = 45;
Title = "モーダル設定\r\n確認";
Function OnTouch( e ) {
try {
MessageBox("Modal =" + str( ^.^.Modal) ) ;
} catch(e) {
MessageBox("Message=" + str(e.Message) + "\nCategory=" + str(e.Category) + "\nCode="+ str(e.Code) + "\nSubCode=" + str(e.subCode));
}
}
}
/* 閉じるボタン */
Button Button2 {
X = 167;
Y = 84;
Width = 83;
Height = 45;
Title = "閉じる";
Function OnTouch( e ) {
try {
Dialog_1_2.Delete();
} catch(e) {
MessageBox("Message=" + str(e.Message) + "\nCategory=" + str(e.Category) + "\nCode="+ str(e.Code) + "\nSubCode=" + str(e.subCode));
}
}
}
}
}