cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-48872%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%83%81%EC%9E%90%20%EC%82%AC%EC%9A%A9%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-48872%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CDIV%20class%3D%22lia-message-template-problem-zone%22%3E%0A%3CH2%20id%3D%22toc-hId--1330329041%22%20id%3D%22toc-hId-1618847773%22%20id%3D%22toc-hId-1618847773%22%3E%EB%AC%B8%EC%A0%9C%3C%2FH2%3E%0A%3CP%3E%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%83%81%EC%9E%90%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC%20%EC%97%B0%EC%86%8D%20%EA%B0%92%EC%9D%84%20%EC%84%A4%EC%A0%95%ED%95%98%EA%B3%A0%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%EB%A5%BC%20%EC%9D%B4%EB%8F%99%ED%95%A0%20%EB%95%8C%20%ED%98%84%EC%9E%AC%20%EA%B0%92%EC%9D%84%20%ED%99%95%EC%9D%B8%ED%95%98%EB%A0%A4%EA%B3%A0%20%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-template-diagnosis-zone%22%3E%0A%3CH2%20id%3D%22toc-hId--442825360%22%20id%3D%22toc-hId--933309188%22%20id%3D%22toc-hId--933309188%22%3E%ED%95%B4%EA%B2%B0%EC%B1%85%3C%2FH2%3E%0A%3CP%3E%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%83%81%EC%9E%90%EC%99%80%20%EC%88%AB%EC%9E%90%20%ED%8E%B8%EC%A7%91%20%EC%83%81%EC%9E%90%EB%A5%BC%20%EB%A7%8C%EB%93%AD%EB%8B%88%EB%8B%A4.%20%EC%88%AB%EC%9E%90%20%ED%8E%B8%EC%A7%91%20%EC%83%81%EC%9E%90%EB%A5%BC%20%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8%ED%95%98%EB%A0%A4%EB%A9%B4%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%83%81%EC%9E%90%EC%97%90%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EB%A5%BC%20%EC%B6%94%EA%B0%80%ED%95%98%EC%84%B8%EC%9A%94.%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%83%81%EC%9E%90%EB%A5%BC%20%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8%ED%95%98%EB%A0%A4%EB%A9%B4%20%EC%88%AB%EC%9E%90%20%ED%8E%B8%EC%A7%91%20%EC%83%81%EC%9E%90%EC%97%90%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EB%A5%BC%20%EC%B6%94%EA%B0%80%ED%95%98%EC%84%B8%EC%9A%94.%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EEggs%20%3D%2050%3B%0ABacon%20%3D%2050%3B%0ANew%20Window(%20%22Slider%20Display%22%2C%0A%20%20%20%20Border%20Box(%20Left(%2010%20)%2C%20Right(%2010%20)%2C%20top(%2010%20)%2C%20bottom(%2010%20)%2C%0A%20%20%20%20%20%20%20%20V%20List%20Box(%0A%20%20%20%20%20%20%20%20%20%20%20%20H%20List%20Box(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Text%20Box(%20%22Eggs%22%20)%2C%20%2F%2F%20slider%20label%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20eggssb%20%3D%20Slider%20Box(%200%2C%20100%2C%20Eggs%2C%20%2F%2F%20slider%20script%20follows...%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20eggsnb%20%26lt%3B%26lt%3B%20set(%20Eggs%20)%3B%20%2F%2F%20update%20the%20value%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20this%20example%20doesn't%20need%20any%20other%20interactive%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20update.%20You%20could%20do%20some%20other%20work%20here%2C%20using%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20the%20slider's%20value%20to%20change%20a%20graph%2C%20perhaps.%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20)%2C%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20text%20box%20to%20hold%20the%20slider's%20value...%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20eggsnb%20%3D%20Number%20Edit%20Box(%20Eggs%2C%20%26lt%3B%3CSETFUNCTION%3E%3C%2FSETFUNCTION%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-template-solution-zone%22%3E%0A%3CH2%20id%3D%22toc-hId-444678321%22%20id%3D%22toc-hId-809501147%22%20id%3D%22toc-hId-809501147%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Window%20with%20Slider%20and%20Edit%20boxes%20launches%202nd%20window%22%20style%3D%22width%3A%20374px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Window%20with%20Slider%20and%20Edit%20boxes%20launches%202nd%20window%22%20style%3D%22width%3A%20374px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Window%20with%20Slider%20and%20Edit%20boxes%20launches%202nd%20window%22%20style%3D%22width%3A%20374px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F8759iF5CC6CDEE0E59C75%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Capture.PNG%22%20alt%3D%22Window%20with%20Slider%20and%20Edit%20boxes%20launches%202nd%20window%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EWindow%20with%20Slider%20and%20Edit%20boxes%20launches%202nd%20window%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EWindow%20with%20Slider%20and%20Edit%20boxes%20launches%202nd%20window%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3E%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EB%B0%8F%20%ED%8E%B8%EC%A7%91%20%EC%83%81%EC%9E%90%EA%B0%80%20%EC%9E%88%EB%8A%94%20%EC%B0%BD%EC%9D%80%20%EB%91%90%20%EB%B2%88%EC%A7%B8%20%EC%B0%BD%EC%9D%84%20%EC%8B%9C%EC%9E%91%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-1332182002%22%20id%3D%22toc-hId--1742655814%22%20id%3D%22toc-hId--1742655814%22%3E%EB%85%BC%EC%9D%98%3C%2FH2%3E%0A%3CP%3E%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%83%81%EC%9E%90%EC%99%80%20%EC%88%AB%EC%9E%90%20%ED%8E%B8%EC%A7%91%20%EC%83%81%EC%9E%90%EC%9D%98%20%EB%8F%99%EC%9E%91%EC%9D%80%20%EB%8B%A4%EB%A6%85%EB%8B%88%EB%8B%A4.%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%83%81%EC%9E%90%EB%8A%94%20%EB%B3%80%EC%88%98(%EC%98%88%3A%20%EA%B3%84%EB%9E%80)%EB%A5%BC%20%EC%9C%A0%EC%A7%80%ED%95%98%EA%B3%A0%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%EA%B0%80%20%EC%9B%80%EC%A7%81%EC%9D%BC%20%EB%95%8C%20%ED%95%B4%EB%8B%B9%20%EB%B3%80%EC%88%98%EB%A5%BC%20%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8%ED%95%A9%EB%8B%88%EB%8B%A4.%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%BD%9C%EB%B0%B1%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EB%8A%94%20%EB%B3%80%EC%88%98%EB%A5%BC%20%EC%A7%81%EC%A0%91%20%EC%82%AC%EC%9A%A9%ED%95%A0%20%EC%88%98%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EC%88%AB%EC%9E%90%20%ED%8E%B8%EC%A7%91%20%EC%83%81%EC%9E%90%EB%8A%94%20%EB%B3%80%EC%88%98%EB%A5%BC%20%EC%9C%A0%EC%A7%80%ED%95%98%EC%A7%80%20%EC%95%8A%EC%9C%BC%EB%A9%B0%20%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8%ED%95%98%EC%A7%80%20%EC%95%8A%EC%8A%B5%EB%8B%88%EB%8B%A4.%20Eggs%20Number%20Edit%EC%9D%98%20%EC%BD%9C%EB%B0%B1%20%ED%95%A8%EC%88%98%EB%8A%94%20%26lt%3B%3CGET%EC%9D%84%20%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC%3D%22%22%20%ED%98%84%EC%9E%AC%3D%22%22%20%EA%B0%92%EC%9D%84%3D%22%22%20%EA%B0%80%EC%A0%B8%EC%99%80%EC%84%9C%3D%22%22%20eggs%EC%97%90%3D%22%22%20%EC%A0%80%EC%9E%A5%ED%95%A9%EB%8B%88%EB%8B%A4.%3D%22%22%20%EA%B7%B8%EB%9F%AC%EB%82%98%3D%22%22%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%EC%97%90%3D%22%22%20%EB%94%94%EC%8A%A4%ED%94%8C%EB%A0%88%EC%9D%B4%EB%A5%BC%3D%22%22%20%EB%8B%A4%EC%8B%9C%3D%22%22%20%EA%B7%B8%EB%A6%AC%EB%8F%84%EB%A1%9D%3D%22%22%20%EC%A7%80%EC%8B%9C%ED%95%98%EB%A0%A4%EB%A9%B4%3D%22%22%3E%26lt%3B%3CINVAL%EB%A1%9C%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%EB%A5%BC%3D%22%22%20%EC%9E%90%EA%B7%B9%ED%95%98%EA%B8%B0%EB%A7%8C%3D%22%22%20%ED%95%98%EB%A9%B4%3D%22%22%20%EB%90%A9%EB%8B%88%EB%8B%A4.%3D%22%22%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%EB%8A%94%3D%22%22%20eggs%3D%22%22%20%EB%B3%80%EC%88%98%EC%97%90%EC%84%9C%3D%22%22%20%EB%8B%A4%EC%8B%9C%3D%22%22%20%EC%B9%A0%ED%95%A0%3D%22%22%20%EA%B0%92%EC%9D%84%3D%22%22%20%EA%B0%80%EC%A0%B8%EC%98%B5%EB%8B%88%EB%8B%A4.%3D%22%22%3E%3C%2FINVAL%EB%A1%9C%3E%3C%2FGET%EC%9D%84%3E%3C%2FP%3E%0A%3CP%3ENumberEditBox%20%EB%8C%80%EC%8B%A0%20TextBox%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC%20%EC%95%BD%EA%B0%84%20%EB%8D%94%20%EA%B0%84%EB%8B%A8%ED%95%9C%20%EB%B3%80%ED%98%95%EC%9D%84%20%EB%A7%8C%EB%93%A4%20%EC%88%98%20%EC%9E%88%EC%A7%80%EB%A7%8C%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%EB%A1%9C%EB%8A%94%20%EC%96%B4%EB%A0%A4%EC%9A%B4%20%EC%A0%95%ED%99%95%ED%95%9C%20%EA%B0%92%EC%9D%84%20%EC%9E%85%EB%A0%A5%ED%95%98%EA%B3%A0%20%EC%8B%B6%EC%9D%84%20%EA%B2%83%EC%9E%85%EB%8B%88%EB%8B%A4.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--2075281613%22%20id%3D%22toc-hId-154521%22%20id%3D%22toc-hId-154521%22%3E%EB%98%90%ED%95%9C%EB%B3%B4%EC%8B%AD%EC%8B%9C%EC%98%A4%3C%2FH2%3E%0A%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2FDisplay_Boxes.shtml%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2FDisplay_Boxes.shtml%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%EB%8F%84%EC%9B%80%EB%A7%90-%26gt%3B%EB%8F%84%EC%84%9C-%26gt%3BJSL%20%EA%B5%AC%EB%AC%B8%20%EC%B0%B8%EC%A1%B0%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-514032%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%83%81%EC%9E%90%20%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-514032%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%83%81%EC%9E%90%EC%9D%98%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EC%97%90%EC%84%9C%20%EB%B0%98%EC%98%AC%EB%A6%BC%ED%95%98%EC%97%AC%20%EC%A0%95%EC%88%98%20%EC%B6%9C%EB%A0%A5%EC%9D%84%20%EC%A0%9C%EA%B3%B5%ED%95%98%EB%8A%94%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%83%81%EC%9E%90%EB%A5%BC%20%EC%96%BB%EC%9D%84%20%EC%88%98%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0AsliderValue%20%3D%20.6%3B%0ANew%20Window(%22Slider%22%2C%20v%20list%20box(%0A%20text%20box(%22Slider%20box%20with%20integer%20output.%22)%2C%0A%20slider%20box(%0A%20%200%2C%0A%20%2010%2C%0A%20%20sliderValue%2C%0A%20%20sliderValue%20%3D%20round(sliderValue)%3B%0A%20%20tb%20%26lt%3B%26lt%3B%20Set%20Text(%20char(%20sliderValue%20)%20)%0A%20)%2C%0A%20tb%20%3D%20text%20box(%22%22)%0A))%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-52615%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%83%81%EC%9E%90%20%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-52615%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%EA%B0%90%EC%82%AC%ED%95%A9%EB%8B%88%EB%8B%A4%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%EA%B7%B8%EA%B1%B8%EB%A1%9C%20%ED%95%B4%EA%B2%B0%EB%90%90%EC%96%B4%EC%9A%94%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Acara_con_una_leve_sonrisa%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-52588%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%83%81%EC%9E%90%20%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-52588%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%EA%B0%90%EC%82%AC%ED%95%B4%EC%9A%94!%3C%2FP%3E%0A%3CP%3E%EB%8B%B9%EC%8B%A0%EC%9D%80%20%EC%B6%94%EA%B0%80%ED%95%B4%EC%95%BC%ED%95%A9%EB%8B%88%EB%8B%A4%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Egb%26lt%3B%3CINVAL%3E%3C%2FINVAL%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%EB%91%90%20%EA%B0%9C%EC%9D%98%20%EC%BD%9C%EB%B0%B1%20%ED%95%A8%EC%88%98(%EA%B3%84%EB%9E%80%20%EB%B0%8F%20%EB%B2%A0%EC%9D%B4%EC%BB%A8%20%EB%B2%88%ED%98%B8%20%ED%8E%B8%EC%A7%91%20%EC%83%81%EC%9E%90%EC%9A%A9)%EC%97%90%EC%84%9C%20GraphBox%EC%97%90%20%EC%9E%90%EC%B2%B4%EB%A5%BC%20%EB%8B%A4%EC%8B%9C%20%EA%B7%B8%EB%A6%AC%EB%8F%84%EB%A1%9D%20%EC%95%8C%EB%A6%BD%EB%8B%88%EB%8B%A4.%20%26lt%3B%26lt%3B%EC%9E%98%EB%AA%BB%EB%90%9C%20%EC%9D%98%EB%AF%B8%3CEM%3E%20%EB%AC%B4%ED%9A%A8%ED%99%94%ED%95%98%EB%8B%A4%3C%2FEM%3E%20%EB%8B%A4%EC%8B%9C%20%EA%B7%B8%EB%A6%AC%EA%B8%B0%EB%A5%BC%20%ED%8A%B8%EB%A6%AC%EA%B1%B0%ED%95%A9%EB%8B%88%EB%8B%A4.%20%EA%B7%B8%EB%9E%98%ED%94%84%20%EC%83%81%EC%9E%90%EB%A5%BC%20%EC%9E%91%EC%84%B1%ED%95%9C%20%EB%B0%A9%EC%8B%9D%EC%97%90%20%EB%94%B0%EB%9D%BC%20%EB%8B%A4%EC%8B%9C%20%EA%B7%B8%EB%A6%B4%20%EB%95%8C%20%EB%B3%80%EA%B2%BD%EB%90%9C%20%EB%8D%B0%EC%9D%B4%ED%84%B0%EA%B0%80%20%EC%84%A0%ED%83%9D%EB%90%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-52583%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%20%EC%83%81%EC%9E%90%20%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-52583%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%EC%95%88%EB%85%95%ED%95%98%EC%84%B8%EC%9A%94%20%ED%81%AC%EB%A0%88%EC%9D%B4%EA%B7%B8%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%EC%A2%8B%EC%9D%80%20%EA%B2%8C%EC%8B%9C%EB%AC%BC%EC%9D%84%20%EC%98%AC%EB%A0%A4%EC%A3%BC%EC%85%94%EC%84%9C%20%EA%B0%90%EC%82%AC%ED%95%A9%EB%8B%88%EB%8B%A4!%3C%2FP%3E%3CP%3E%EB%82%B4%EA%B0%80%20%EA%B2%AA%EA%B3%A0%20%EC%9E%88%EB%8A%94%20%EB%AC%B8%EC%A0%9C%EB%A5%BC%20%EC%84%A4%EB%AA%85%ED%95%98%EA%B8%B0%20%EC%9C%84%ED%95%B4%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EB%A5%BC%20%EC%95%BD%EA%B0%84%20%EC%88%98%EC%A0%95%ED%96%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EEggs%20%3D%2050%3B%0ABacon%20%3D%2050%3B%0ANew%20Window(%20%22Slider%20Display%22%2C%0A%20Border%20Box(%20Left(%2010%20)%2C%20Right(%2010%20)%2C%20top(%2010%20)%2C%20bottom(%2010%20)%2C%0A%20%20V%20List%20Box(%0A%20%20%20H%20List%20Box(%0A%20%20%20%20Text%20Box(%20%22Eggs%22%20)%2C%20%2F%2F%20slider%20label%0A%20%20%20%20eggssb%20%3D%20Slider%20Box(%0A%20%20%20%20%200%2C%0A%20%20%20%20%20100%2C%0A%20%20%20%20%20Eggs%2C%0A%20%20%20%20%20gb%20%26lt%3B%26lt%3B%20Set%20Graphics%20Script(%20Marker(%20%7BBacon%2C%20Eggs%7D%20)%20)%3B%2F%2F%20slider%20script%20follows...%0A%20%20%20%20%20eggsnb%20%26lt%3B%26lt%3B%20set(%20Eggs%20)%3B%20%2F%2F%20update%20the%20value%0A%20%20%20%20%20%2F%2F%20this%20example%20doesn't%20need%20any%20other%20interactive%0A%20%20%20%20%20%2F%2F%20update.%20You%20could%20do%20some%20other%20work%20here%2C%20using%0A%20%20%20%20%20%2F%2F%20the%20slider's%20value%20to%20change%20a%20graph%2C%20perhaps.%0A%20%20%20%20)%2C%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20text%20box%20to%20hold%20the%20slider's%20value...%0A%20%20%20%20eggsnb%20%3D%20Number%20Edit%20Box(%0A%20%20%20%20%20Eggs%2C%0A%20%20%20%20%20%26lt%3B%3CSETFUNCTION%3E%3C%2FSETFUNCTION%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%EB%82%B4%20%EB%AC%B8%EC%A0%9C%EB%8A%94%20%EC%88%AB%EC%9E%90%20%ED%8E%B8%EC%A7%91%20%EC%83%81%EC%9E%90%EC%97%90%20%EC%88%AB%EC%9E%90%EB%A5%BC%20%EC%9E%85%EB%A0%A5%ED%95%A0%20%EB%95%8C%20%EA%B7%B8%EB%9E%98%ED%94%84%EA%B0%80%20%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8%EB%90%98%EC%A7%80%20%EC%95%8A%EB%8A%94%EB%8B%A4%EB%8A%94%20%EA%B2%83%EC%9E%85%EB%8B%88%EB%8B%A4.%20%22Enter%22%20%ED%82%A4%EB%A5%BC%20%EB%88%84%EB%A5%B4%EB%A9%B4%20%EC%8A%AC%EB%9D%BC%EC%9D%B4%EB%8D%94%EA%B0%80%20%EC%9D%B4%EB%8F%99%ED%95%98%EC%A7%80%EB%A7%8C%20%EA%B7%B8%EB%9E%98%ED%94%84%EC%97%90%20%EB%B3%80%EA%B2%BD%20%EC%82%AC%ED%95%AD%EC%9D%B4%20%EB%B0%98%EC%98%81%EB%90%98%EC%A7%80%20%EC%95%8A%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EB%AA%87%20%EA%B0%80%EC%A7%80%EB%A5%BC%20%EC%8B%9C%EB%8F%84%ED%96%88%EC%A7%80%EB%A7%8C%20%ED%95%B4%EA%B2%B0%20%EB%B0%A9%EB%B2%95%EC%9D%84%20%EC%95%8C%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%EB%8B%B9%EC%8B%A0%EC%9D%B4%20%EB%8F%84%EC%9A%B8%20%EC%88%98%20%EC%9E%88%EA%B8%B0%EB%A5%BC%20%EB%B0%94%EB%9E%8D%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBR%3C%2FP%3E%3CP%3E%EC%A0%9C%EC%8A%A4%ED%8D%BC%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
Using Slider Boxes

Problem

You want to use a Slider Box to set a continuous value, and you want to see the current value as you move the slider.

Solution

Make a Slider Box and a Number Edit Box. Add a script to the Slider Box to update the Number Edit Box. Add a script to the Number Edit Box to update the Slider Box.

Eggs = 50;
Bacon = 50;
New Window( "Slider Display",
    Border Box( Left( 10 ), Right( 10 ), top( 10 ), bottom( 10 ),
        V List Box(
            H List Box(
                Text Box( "Eggs" ), // slider label
                eggssb = Slider Box( 0, 100, Eggs, // slider script follows...
                    eggsnb << set( Eggs ); // update the value
                    // this example doesn't need any other interactive
                    // update. You could do some other work here, using
                    // the slider's value to change a graph, perhaps.
                ), 
                // text box to hold the slider's value...
                eggsnb = Number Edit Box( Eggs, <<setfunction(
                        Function( {this}, // if the text box value changes
                            Eggs = this << get; // get the value
                            eggssb << inval; // update the slider
                        )
                    )
                )
            ),
            H List Box(
                Text Box( "Bacon" ), // slider label
                baconsb = Slider Box( 0, 100, Bacon, // slider script follows...
                    baconnb << set( Bacon ); // update the value
                ), 
                // text box to hold the slider's value...
                baconnb = Number Edit Box( Bacon, <<setfunction(
                        Function( {this}, // if the text box value changes
                            Bacon = this << get; // get the value
                            baconsb << inval; // update the slider
                        )
                    )
                )
            ),
            Button Box( "Make Breakfast", // button script follows...
                New Window( "Breakfast", Text Box( "eggs: " || Char( eggs ) || " and bacon: " || Char( bacon ) ) )
            )
        )
    )
);

Window with Slider and Edit boxes launches 2nd windowWindow with Slider and Edit boxes launches 2nd window

Discussion

Slider Box and Number Edit Box have different behaviors. The Slider Box holds on to the variable (Eggs, for example) and updates that variable when the slider moves. The slider callback script can use the variable directly. The Number Edit Box does not hold on to the variable, and does not update it. The callback function for the Eggs Number Edit uses <<get to get the current value and store it into Eggs. But then it only needs to prod the slider with an <<inval to tell the slider to repaint the display. The slider will get the value to repaint from the Eggs variable.

You could make a slightly simpler variation using TextBox rather than NumberEditBox, but you'll probably want to enter an exact value, which is hard with a slider.

See Also

http://www.jmp.com/support/help/Display_Boxes.shtml

Help->Books->JSL Syntax Reference

Comments

Hi Craig

 

Thank you for ea great post!

I modified your script slightly to illustrate a problem I am having:

Eggs = 50;
Bacon = 50;
New Window( "Slider Display",
	Border Box( Left( 10 ), Right( 10 ), top( 10 ), bottom( 10 ),
		V List Box(
			H List Box(
				Text Box( "Eggs" ), // slider label
				eggssb = Slider Box(
					0,
					100,
					Eggs,
					gb << Set Graphics Script( Marker( {Bacon, Eggs} ) );// slider script follows...
					eggsnb << set( Eggs ); // update the value
					// this example doesn't need any other interactive
					// update. You could do some other work here, using
					// the slider's value to change a graph, perhaps.
				), 
                // text box to hold the slider's value...
				eggsnb = Number Edit Box(
					Eggs,
					<<setfunction(
						Function( {this}, // if the text box value changes
							Eggs = this << get; // get the value
							eggssb << inval; // update the slider
						)
					)
				)
			),
			H List Box(
				Text Box( "Bacon" ), // slider label
				baconsb = Slider Box(
					0,
					100,
					Bacon,
					gb << Set Graphics Script( Marker( {Bacon, Eggs} ) );
                 // slider script follows...
					baconnb << set( Bacon ); // update the value
				), 
                // text box to hold the slider's value...
				baconnb = Number Edit Box(
					Bacon,
					<<setfunction(
						Function( {this}, // if the text box value changes
							Bacon = this << get; // get the value
							baconsb << inval; // update the slider
						)
					)
				)
			),
			Button Box( "Make Breakfast", // button script follows...
				New Window( "Breakfast",
					Text Box( "eggs: " || Char( eggs ) || " and bacon: " || Char( bacon ) )
				)
			)
		)
	),
	gb = Graph Box(
		Framesize( 300, 300 ),
		XName( "Bacon" ),
		YName( "Eggs" ),
		X Scale( 0, 100 ),
		Y Scale( 0, 100 ),
		Marker( {Bacon, Eggs} )
	)
);

My problem is that the graph does not update when I enter a number in the Number Edit Box. The slider moves when I press "Enter", but the graph does not reflect the change. I have tried a few things, but cant figure out how to fix it.

I hope you can help?

 

BR

Jesper

Thanks!

You need to add 

gb<<inval; // update the graphbox

in the two callback functions (for eggs and bacon number edit boxes) to notify the GraphBox to redraw istself. <<Inval means invalidate and triggers a redraw. The way you've written the graph box, it will pick up the changed data when it redraws.

Thank you

 

That solved it :)

ih

You can get a Slider Box to give an integer output by rounding it in the Slider Box's script:

Names Default To Here( 1 );
sliderValue = .6;
New Window("Slider", v list box(
	text box("Slider box with integer output."),
	slider box(
		0,
		10,
		sliderValue,
		sliderValue = round(sliderValue);
		tb << Set Text( char( sliderValue ) )
	),
	tb = text box("")
));
JSL Cookbook

If you’re looking for a code snippet or design pattern that performs a common task for your JSL project, the JSL Cookbook is for you.

This knowledge base contains building blocks of JSL code that you can use to reduce the amount of coding you have to do yourself.

It's also a great place to learn from the experts how to use JSL in new ways, with best practices.