API version 1

- ‐

RW

string

toolTip

ツールチップのテキストを設定します。

アイテムにマウスカーソルをかざした時に表示されるツールチップのテキストを設定します。



使用例 CRSダウンロード ダウンロード(IconView_icon11.png)

Form IconViewItem_toolTip {
   x = 0;
   y = 0;
   width = 800;
   height = 600;

   IconView iconView1 {
           x = 8;
           y = 8;
           width = 640;
           height = 480;

           tooltip = "IconView1ToolTip";
           tooltipDelayTime = 3;

           IconViewItem items[2] {
                   var ic1 = new Image();
                   ic1.loadImage("IconView_icon11.png");
                   this[0].icon = ic1;
                   this[0].title = "foo1";

                   # 一番目のIconViewItemのツールチップを設定します
                   this[0].toolTip = "foo1 tooltip";

                   this[1].icon = ic1;
                   this[1].title = "foo2";

                   # 二番目のIconViewItemのツールチップを設定します
                   this[1].toolTip = "foo2 tooltip";
           };
   }
}