Thread Rating:
  • 304 Vote(s) - 2.65 Average
  • 1
  • 2
  • 3
  • 4
  • 5
セルをマウスクリックした時の値の選択状態制御
11-09-2015, 05:02 PM,
#2
RE: セルをマウスクリックした時の値の選択状態制御
カスタムセルクラス自身にPointerReleaseイベントに対してイベントを
張り付けてはどうでしょうか。

Code:
{define-class public open AmountCell {inherits StandardStringCell}
  
  {constructor public {default}
    {construct-super}
    
    {self.add-event-handler
        {on e:PointerEnvelopeEvent do
            {type-switch e.contents
             case pp:PointerRelease do
                {if self.current-editor != null then
                    {self.current-editor.select-all}
                    {e.consume}
                }
            }
        }
    }
  }
}


Messages In This Thread
RE: セルをマウスクリックした時の値の選択状態制御 - by dankom - 11-09-2015, 05:02 PM
Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('1274')