滑鼠盒 - 按鈕向上的動作?對於滑鼠盒,該方法透過
<
<
「火災」太頻繁了。
增加死區時間感覺非常延遲。
當釋放按鈕時,滑鼠牛也會「開火」嗎?有特殊設定嗎?
另一方面:是否有像 IS CTRL() 這樣的函數可以傳回滑鼠按鈕的目前狀態?
自動化和腳本編寫回覆:滑鼠盒 - 按鈕向上的動作?w = New Window( "Mouse Messages", // modified from scripting index setClick
Border Box( Left( 20 ), Right( 20 ), top( 20 ), bottom( 20 ),
MouseBox( /* <<<<<<<< handler for mouse events */
window:tb = Text Box( "click me!", <<SETFONTSIZE></SETFONTSIZE>
<P></P><DIV class="lia-vid-container video-embed-center lia-video-unavailable"><DIV id="lia-vid-6362132885112w400h300r408" class="lia-video-ooyala-player-container"><DIV class="lia-video-status-message">該影片目前正在處理中。請幾分鐘後重試。</DIV></DIV><A class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6362132885112" target="_blank">(在我的影片中查看)</A></DIV>You might want to ignore Moved as well as Ticked.<P></P>
<P> </P>
<P>滑鼠盒< <SETCLICK example="" in="" the="" scripting="" index="" is="" one="" of=""><A href="https://community.jmp.com/t5/Uncharted/Three-JSL-Easter-Eggs/m-p/21181#U21181" class="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa" target="_blank">三個 JSL 復活節彩蛋</A></SETCLICK></P>回覆:滑鼠盒 - 按鈕向上的動作?謝謝。精彩的:)
腳本索引中有很好的記錄 - 我怎麼能錯過它......
回覆:滑鼠盒 - 按鈕向上的動作?是否有與懸停在 mouseBox 上相關的操作 - 就像 Hoverlabels 一樣?
我嘗試向工具提示添加 JSL 命令 - 但不幸的是 << setTooltip的參數已預先評估。
編輯:
將指令放入Expr()內可阻止 JMP 在建立視窗時評估指令。
不幸的是,它也不會在以後得到評估。
new window("",Mouse Box (Text Box("Caption when mouseover?"),<<SETTOOLTIP></SETTOOLTIP>
My next try: use <FONT face="courier new,courier"><< 設定按鍵啟用(1)</FONT>and use a key on the keyboard to trigger the action.<BR />But the Mouse Box needs a <FONT face="courier new,courier"><<SET focus="">< ont> - 所以似乎不是 MouseOver 的正確選擇。</SET></FONT>
回覆:滑鼠盒 - 按鈕向上的動作?我想只是遊標改變了。不過,這是個好主意。