Visual Basic 中学校 > 初級講座 > 第23回 コントロールの遷移制御 フォーカス移動際での入力チェック、入力後の処理…深く考えないで適当にプログラムしていませんか?今回はこの辺りの話題を掘り下げます。フォーカス関連のイベントやValidatingイベント等を一から説明しているので、初めての方およびフォーカス制御が苦手な方は必読です。 この回の要約・フォーカス関連のイベントはLeave → Validating → Validated → Enterの順で発生する。 ・個別に行うならば、入力チェックはValidatingイベント、入力後の処理はValidatedイベントで行う。 ・場合によってはLeaveイベントでこれらの処理を行うこともありえる。 ・CausesValidationプロパティを使ってValidatingイベントの発生を抑止できる。 ・Validati
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く