バージョン

DropDown(Control,Control,Control,EventHandler,Rectangle,Size,Point,Boolean,Boolean,Boolean,Boolean,DropDownPosition,Boolean) メソッド

ドロップダウンウィンドウを作成および表示する静的メソッド
シンタックス
'宣言
 
Public Overloads Shared Sub DropDown( _
   ByVal owner As Control, _
   ByVal dropdownControl As Control, _
   ByVal editControl As Control, _
   ByVal closeUpHandler As EventHandler, _
   ByVal exclusionArea As Rectangle, _
   ByVal dropDownSize As Size, _
   ByVal location As Point, _
   ByVal alignRight As Boolean, _
   ByVal clearExisting As Boolean, _
   ByVal autoCloseUp As Boolean, _
   ByVal ignoreClicksInExclusionArea As Boolean, _
   ByVal dropDownPosition As DropDownPosition, _
   ByVal eatMouseMessageOnAutoCloseup As Boolean _
) 

パラメータ

owner
ドロップダウンを所有するコントロール
dropdownControl
クライアント領域全体を占めるドロップダウンフォームに配置されるコントロール。
editControl
オプションの編集コントロール。この編集ウィンドウをマウスでクリックしても、ドロップダウンを閉じることにはなりません。
closeUpHandler
ドロップダウンが閉じた後でメソッドが呼び出されます。
exclusionArea
この四角形(画面座標)は、ドロップダウンで隠れません。
dropDownSize
ドロップダウンの要求されたサイズです。
location
ドロップ ダウンを配置する位置 (画面座標)
alignRight
Trueの場合は、ドロップダウンの右上隅をロケーションポイントに配置しようとします。
clearExisting
現在ドロップダウンされているウィンドウを閉じる必要がある場合。
autoCloseUp
ドロップダウンの外側でマウスをクリックしたときにドロップダウンを自動的に閉じる必要がある場合
ignoreClicksInExclusionArea
Falseになって除外領域の内側をクリックするとドロップダウンを自動的に閉じる必要がある場合。
dropDownPosition
ExclusionRectを基準として、ドロップダウンを表示する位置を決定します。
eatMouseMessageOnAutoCloseup
Trueの場合、closeupを発生させたマウスメッセージを消費します。
参照