posts - 431,  comments - 344,  trackbacks - 0
          前兩天遇到了一個問題,當textbox組件獲得焦點的時候,要選擇它的值。而在GI3.4版本中,使用tab鍵轉移焦點默認下就是選擇了textbox中的值,而我們現在是觸發focus事件,這樣當textbox獲得焦點的時候,里面的值并沒有選上。現在解決的具體辦法是:
          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
          主站蜘蛛池模板: 利川市| 乳山市| 屏南县| 新兴县| 固安县| 西充县| 安丘市| 兴业县| 大同县| 江都市| 社旗县| 茶陵县| 黄陵县| 府谷县| 邛崃市| 永兴县| 彭山县| 宁强县| 通辽市| 临江市| 深水埗区| 宣化县| 嵩明县| 廉江市| 桦南县| 合作市| 凤凰县| 新巴尔虎左旗| 怀化市| 武乡县| 罗甸县| 西乌珠穆沁旗| 惠东县| 清涧县| 浦城县| 始兴县| 枣强县| 饶阳县| 慈溪市| 珠海市| 湘潭县|