posts - 431,  comments - 344,  trackbacks - 0
          前兩天遇到了一個問題,當textbox組件獲得焦點的時候,要選擇它的值。而在GI3.4版本中,使用tab鍵轉移焦點默認下就是選擇了textbox中的值,而我們現(xiàn)在是觸發(fā)focus事件,這樣當textbox獲得焦點的時候,里面的值并沒有選上。現(xiàn)在解決的具體辦法是:
          textbox: events editor: focus: this.getRendered().select();

          HTMLElement getRendered(objGUI : Object | jsx3.gui.Event)
          Returns handle/reference to the JSX GUI Object's on-screen counterpart—basically a handle to a DHTML object such as a DIV, SPAN, etc

          Parameters:

          objGUIeither the HTML document containing the rendered object or an HTML element in that document. This argument is optional but improves the efficiency of this method if  provided。

          Returns:

          IE DHTML object

          posted on 2007-05-30 13:14 周銳 閱讀(437) 評論(0)  編輯  收藏 所屬分類: TIBCO
          主站蜘蛛池模板: 扶风县| 黔东| 盖州市| 淮南市| 建平县| 寿阳县| 会同县| 略阳县| 外汇| 呼和浩特市| 贺州市| 思茅市| 丹棱县| 新晃| 收藏| 横山县| 新龙县| 全南县| 霞浦县| 抚宁县| 闸北区| 崇文区| 高台县| 胶州市| 宽城| 沁阳市| 哈尔滨市| 巴青县| 福贡县| 临海市| 旬阳县| 临漳县| 济源市| 松潘县| 清河县| 河曲县| 上蔡县| 灵川县| 简阳市| 修文县| 资源县|