メンバ一覧 DeAppendable 前のプロパティ 次のプロパティ

VB C# ALL プログラミング言語によるフィルタ (ここで選んだ言語で選別された説明や図だけが表示されます)

DeAppendable プロパティ

機能および役割

ボディ部の最終明細行 (データが表示されている最終の明細行) よりも下に新しいデータをインプットできるかどうかを示す。

所属するクラス (ツーピーススタイルの場合にこのプロパティが宣言されているクラス)

AppliTech.WorkFrame.FormBase (ローカル)

値を参照・設定する際の書き方

fB.DeAppendable

(ただし fB は、クラス FormBase のインスタンス)

型および属性 (このプロパティの型と属性)

真偽値型 (Boolean, bool)

実行時に値の参照も設定もできる。

取り得る値とその意味

DeAppendable が 偽 (False, false) だと、ボディ部の最終明細行よりも下に新しいデータをインプットできないことを意味する。真 (True, true) ならばできることを意味する。

例外の発生 (誤った参照の際に発生する例外)

(関係する例外の発生なし)

使用上のヒントと注意事項

関連事項

使用例

Friend Function FbDeAppendable_GetEvent(ByVal fB As FormBase) As Boolean
    ' ボディ部の明細行追加可否を切り換えます。
    Dim oldDeAppendable As Boolean = fB.DeAppendable
    fB.DeAppendable = Not oldDeAppendable
    Dim Msg As String = "DeAppendable の値は [" + fB.DeAppendable.ToString() + "] になりました。"
    fB.MessageBoxShow(Msg)
    Return FormBase.GETEVENT_Allow
End Function
internal bool FbDeAppendable_GetEvent( FormBase fB ) {
    // ボディ部の明細行追加可否を切り換えます。
    bool oldDeAppendable = fB.DeAppendable;
    fB.DeAppendable = !oldDeAppendable;
    string Msg = "DeAppendable の値は [" + fB.DeAppendable.ToString() + "] になりました。";
    fB.MessageBoxShow(Msg);
    return FormBase.GETEVENT_Allow;
}
public boolean FbDeAppendable_GetEvent( FormBase fB ) {
    // ボディ部の明細行追加可否を切り換えます。
    boolean oldDeAppendable = fB.DeAppendable;
    fB.DeAppendable = !oldDeAppendable;
    String Msg = "DeAppendable の値は [" + fB.DeAppendable
            + "] になりました。";
    fB.MessageBoxShow(Msg);
    return FormBase.GETEVENT_Allow;
}