0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【MS ACCESS】自分自身のFormにフォーカスする。

Posted at

メモとして残します。

■やり方

Function hoge()
    Me.Form.SetFocus 'または Me.SetFocus でも可
End Function

■さいごに

基本的にはこんなことやる機会はないとは思いますが、
私の場合は、ローディング画面のようなフォームを処理中に表示することがあるため、
ロード完了時に閉じたときにフォームにフォーカスを戻してキー入力をシームレスに続けることが目的だったため、仕方なく。。。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?