KsGrid リファレンス KsGrid クラス

Mouse.ContextMenuItems プロパティー

コンテキストメニューに追加するアイテムのContextMenuItem構造体の配列を取得または設定します。

宣言

Public Property ContextMenuItems() As ContextMenuItem()

解説

このページのトップへ

使用例

Dim NewItems(1) As ContextMenuItem
NewItems(0).Name = "New1"
NewItems(0).Text = "新しい操作"
NewItems(0).BitMap = New Bitmap("C:\myApp\Image.bmp")
NewItems(0).ImageTransparentColor = Color.Magenta
NewItems(1).Name = "New2"
NewItems(1).Text = "新しい操作2"
.Mouse.ContextMenuItems = NewItems


このページのトップへ

関連項目

Mouse クラス

このページのトップへ


著作権 加茂屋株式会社 2015 ( ©Kamoya Corporation 2015) お問い合わせ