sliders instead of the buttons

I have 20 scripts buttons that take place,

I was wondering if it was possible to create a slider to a value of 1

starting the feature 1

win.testOK.funcrion1Btn.onClick = function () {}

If the value 2

fact that the function 2

win.testOK.funcrion2Btn.onClick = function () {}

etc etc.

doing it this way would save a lot of space and I couldn't

create a nicer interface

You can, but I think a DropDownList would be better. on one of those, you just put an onChange function that will execute the code you want.

var list = ['1. first','2. second','3. third'];

dlg = new Window('dialog','test');
dlg.dropLst = dlg.add('dropdownlist',undefined,list);

dlg.dropLst.onChange = function(){

    switch(parseInt(dlg.dropLst.selection)){
        case 0:
            //code here
            alert(dlg.dropLst.selection.text);
            break;
        case 1:
            //code here
            alert(dlg.dropLst.selection.text);
            break;
        case 2:
            //code here
            alert(dlg.dropLst.selection.text);
            break;
        }
    }
dlg.show();

Tags: Photoshop

Similar Questions

  • Symbol instead of the button from the library

    Hello

    I have seen many applications in which the button in an open-ended question about the top-menu bar is replaced by a small pictogram Home button instead of the large "library".

    Can someone tell me where is the option to change this button?

    Thank you very much!

    Home icon "little house" is used in single-folio apps and much older multi-folio applications. The 'Library' button is used in multi-folio applications. It can be customized in the nav bar itself. A remote possibility is to disable the top navigation bar and create a custom library using 'goto://ApplicationViewState/library' button, but that's a lot of extra work.

  • Is it possible to display an image instead of the button in a group of radio buttons?

    I am building an application must work with touch screens. I would like to show the buttons of the largest radio group as they are by default. Is it possible to make them appear larger, or to display a custom instead of the radio group image?

    Francisco

    Hi Francisco,.

    Back to your original question. Take a look at http://www.456bereastreet.com/lab/styling-form-controls-revisited/radio-button/ or look

    radio css
    

    on Google for examples of how you can change the icon of the radio group selection.

    On the use of the images himself for the Group of radio buttons. You can always include the necessary HTML tags in the query LOV himself as well. Just a very simple example:

    select ''||dname as d,
           deptno as r
      from dept
     order by dname
    

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • Use the folder icon instead of the button browse to < af:inputFile >

    Hi all
    I need to replace the Browse button of the folder on the component icon ADf < af:inputFile >, any ideas how to add the icon to browse on inputfile component button


    Thank you
    Bardet

    Hello

    don't see an option for this. I've filed an enhancement request to offer this option

    Frank

  • Bookmark button useless dropdown instead of the sidebar

    Until recently, the bookmark icon button shortly would show the bookmark sidebar when you press (the one with the top search box). Now, instead, I see a simple drop-down list of all my favorites, with no search box. I can still see the sidebar if I press Ctrl + B or use the menu, but I need this function restored to a button with a single click if you please.

    In your case, you are looking for the button without the drop marker to open the side bar (Ctrl + B).

    You will probably find the button with the drop marker at the end of the bookmarks toolbar, but it will only show here if the menu bar is hidden, and you have the visible orange Firefox button.

    See also:

  • On the 10.0.1, version missing the button tab. Have to do CTRl + T instead. How to bring back the new tab button?

    After update to version 10.0.1, the button new tab, which sits to the right of the last tab, disappeared. I now have to do CTRL + T instead. How can I get that back?

    You can find the button new tab showing as a '+' on the tab bar.

    You can open the window customize and drag the button new tab that indicates that a sign plus bar tabs on another toolbar and it will become a regular tools like the new button bar button tab you have in versions of Firefox 3.

    If you can not find the new button tab then click the button 'Restore Default Set' in the window customize.

  • Is it possible to return when he is on the left side of the screen so that the Start button is on the bottom instead of the top of the taskbar.

    original title: I wonder if it is possible to reverse the when it is on the left side of the screen so that the Start button is on the bottom instead of the top of the taskbar.

    I have a laptop wide screen so I move the taskbar to the left for more vertical space. I was wondering if there is a way to return so that the Start button is on the bottom and all the small icons of notification are on top?

    Hi Sparty11,

    Welcome to the Microsoft Answers site.

    Unfortunately you can not return the taskbar to display the start menu to the basic button. It's normal. If you move to the left or right, in both cases the start menu button appears on the top left or top right of the task bar.

    You can share your suggestions on tracking site.

    https://connect.Microsoft.com/dashboard/Info/

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Use a color field square instead of the sliders

    Hello
    [First of all, I posted this question on a different community but I was told that it is better to ask somewhere else, given that this community is more or less sleep.

    Use a field of color square instead of the sliders ]


    I would like to change the color on the right side sliders

    i have.PNG

    instead of color field

    i want.PNG

    Everything I found on the web was the shortcut alt + shift + rightclick and entering the small icon of current color color picker, which is nice, but I still want the place to be permanent.

    If there is a way, how can I do then?

    Thank you

    * I use the version 14.0 for 64-bit (CC)?

    If you're updating until 2015, do. What about the triple post, Jive - the company that created this forum - is problems with several post right now. I deleted the double post.

  • Save button instead of the "print" button in CS3

    Suddenly, I have a button Save instead of a button print in CS3.  I think that my settings predefined printing, printer and PPD may have changed.  I do not know why and don't remember what they were before.


    My printer is a HP Laser Jet 1300 Series.  It's a postscript laser printer.  If I change the printer affecting Microsoft XPS Document Writer, the button print appears, but it does not print.  Instead, he wants me to save the file as an .xps document.

    I use VMWare Fusion on a Mac while I can still use my version of Windows of CS3.  It has worked so far.  What have I done wrong?  Can I fix?

    I did a church newsletter that I intended to copy to the Church tomorrow morning.  Can't believe what happened to me!  Thank you.

    Hello T K,

    I'm just guessing and would say it would be an option to reinstall the printer driver. So go to system setting > printers and delete it. The printer came with an installation program Please use the uninstall routine that you can find in your Start menu or the system setting > programs.

    Another option is to export the document to PDF and you can print using Adobe Acrobat on Windows or Adobe Reader on your Mac.

  • I used the Pencil button and now I have a button type of path instead of the regular "BOLD" T (for text boxes). I can't button "BOLD" T back instead, there is a T banked with a line.

    I used the Pencil button and now I have a button type of path instead of the regular "BOLD" T (for text boxes). I can't button "BOLD" T back instead, there is a T banked with a line.

    Opt/alt, click on the type on a path tool.

  • Arrows instead of the sliders in the demo?

    I'm ready to take the plunge for the CC of photography plan. However, what's weird is that in the downloaded evaluation version I have, I have arrows to set the various parameters of the image instead of the sliders. What gives?

    It seems to me have exhausted all attempts to find a reason for this, and now I'm asking here.

    The purchased version still uses the cursors? Is it a setting I can select in the demo version that I can't find? I looked at the preferences window, but do not see anything... could have missed it.

    Thanks for your time!

    I wonder... just in case you are in the DEVELOPMENT MODULE or in the library DEVELOP QUICK Module?  You can post a page so we can see what you mean

  • The MC button flat instead of the State down

    I have an mc button that has two keyframes inside the mc, one 'on' and a 'stop' State

    What I need to do is toggle between sub and turned off in when you click on it.

    At the present time he alternated between and turns off when I soar even if I didn't specify to get high.

    I am using actionscript 2 and here is what I have on the MC button:

    on (release) {}

    if (this.art._visible)

    {this.art._visible = false; button.gotoAndStop ("off");}

    }

    on the other

    {

    this.art._visible = true; button.gotoAndStop("on") ;}

    }

    Therefore, when you click this button a picture becomes hidden and when you click it again it appears. I just need the button to switch between the slot and shut down properly. Everyone sees in this code, where it could hover? Executives have also the script 'stop' on them as well.

    I searched on google forever for a solution and it's probably very very very simple.

    Let me know if you need further details. Thank you

    First of all, try to move the code to the timeline instead of placiing on the object.  Assign "the instance name of the button.

    Output"feature...

    button.onRelease = function() {}

    If (art._visible)

    {

    art._visible = false;

    button.gotoAndStop ("off");

    }

    on the other

    {

    art._visible = true;

    button.gotoAndStop("on") ;}

    }

    Then check that your button is not a biutton as a movieclip will not react a hover on his own as a button will be

  • How do I put the buttons instead of menu in the menu module

    Hi iam having a form with menu, instead of the menu module, I need to buttons... can someone help me

    They're askiing allows you to create a toolbar...

    You cannot create a toolbar in the mmb file.
    But you can create the toolbar in your fmb.s

    Create a canvas in your form and make the type as a horizontal toolbar.
    Set the window with your name in the main window
    Go to this Web and place small buttons (create a block no db to contain the buttons) on the canvas of the toolbar
    and write code to open the form in the WHEN BUTTON PRESSED.

    In a form, you create it and copy paste that canvas of the toolbar and the toolbar block other forms also...

  • How to create link text instead of the link button

    Hi all

    How to create a link text like "click here" to a page in the application instead of a button link in the form page

    near an element (text field)...

    can we also carry the values of some of the elements form page to the link page which is also a form... ?


    Thanks in advance.

    set the label as <-a href="http://url/">click here<->. Then buld up of your URL using replace values IE

    / pls/apex/f? p = V('APP_ID'):0:V('APP_SESSION'):APPLICATION_PROCESS = MY_PROCESS:NO:P1NAME, P2NAME, P3NAME:P1VALUE, P2VALUE, P3VALUE

    concerning

  • Binding 'close' to a button on the mouse closed Firefox 4 instead of the current tab as in previous versions.

    I have a 5 button mouse Microsoft. In the mouse properties, I have 'Close' linked to one of the buttons. In previous versions of Firefox, which would close the active tab. With Firefox 4, it closes the browser. Is it possible to recover this feature?

    This response seems to have solved the problem for others:

    «I've got a similar question that I programmed my MS mouse Intellipoint to 'Close', so I could close a tab with a click, but now he closes the application.» "I got around it by changing the settings of my Intellipoint / program specific settings / Firefox / key combination (Ctrl + W) hope this helps.

    City of https://support.mozilla.com/questions/820420

Maybe you are looking for

  • Firefox does not work on some Web sites

    I continually run into sites that don't work well with Firefox. I tend to think, because of FF high-speed evolution that he brings to the itself, but nevertheless, it's boring. The sites all say 'use Chrome' as a solution, and most of the time, it wo

  • Lost disc to upgrade product key

    I bought windows 7 Home premium installed on my computer.  Now I have a new computer and still have the drive, but I can't find the case so I don't have the product key.  My new computer has windows 7 starter edition.  I want to upgrade but can't wit

  • Compaq nc6320: what sodimm ram laptop support? It is possible 8GB?

    I have a compaq nc6320 and j bought 8 gb 4 x 2 R2 KomputerBay sodimm 667 mhz 5052396003061 EAN bar code x0008jqy6z. why he can't see my laptop? Serial number P/N: RH380ET #ABZ Cno6320FFUT5600B580XGh10PaT ITL Can someone help me? Happy New Year from t

  • Update of Smartphones Blackberry blackBerry - backup your App error 603

    I recently received an update that requires a backup. I left my phone all night. I woke up and discovered an App error 603. I clicked on reset, and then it restarted the phone. However, it brings back me to the backup of your data to 0% screen. Then

  • Image processing failure: error code: 1004

    When you export to DropBox of Lighroom I get this error: image processing failure: error code: 1004Under which it lists all the images that I export.99% of the time the images for export to the correct location and look good. But the error always com