Embedding a picture and using command buttons

I developing CVI test software to production test keypads.  I would like to take a picture of the actual keypad and superimpose command buttons for keys and a textbox for the keypad display.  This will make an interactive display for the operator.  Can this be done?  When I move the buttons on top of the picture they are visible but do not operate.  Any suggestions?

Are you sure the button are on top of the picture? Can you see them? If they were on top they should be operable.
To set the picture below the command buttons you must select it and press F7 key: with this the picture is moved to the background and the buttons should be operable -and visible.
The problem at this moment will be to "hide" the buttons so that they have no visual effect but they remain operable. You can achieve this by painting them with transparent colour (note: this will not be possible if you have set Use Windows Visual Style for Controls attribute in panel advanced attributes: try disabling this option to test the operation).
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

Similar Messages

  • When trying to move file and use command and drag, it doesn't move the file just creates a short cut.

    When trying to move file and use command and drag, it doesn't move the file just creates a short cut.

    Using command creates a copy.
    If you want to just move a file, click on it, hold it and drag it to the new location.

  • Using command button to select query - WAD 7.0

    Hello all
    Can anyone please tell me how to configure a command button (button group) to display a particular query in WAD 7.0?
    Here's what I mean -
    I have a web template with three queries. I have inserted 3 command buttons on the template. I want to assign one button to one query, so that the users can select which of the three they want to view. Which Command do I select in the command wizard to do this? Also, is it possible to hide the other two queries, when one is selected?
    Thanks
    Karen

    Hi,
    Here is one approach - Keep three analysis items in the WT. Assign three different data providers to all three analysis items. If you do not want to show any query when the WT first loads, don't assign any query to the data providers. When a button is pushed, you can use the command SET_DATA_PROVIDER_PARAMATERS to assign a query to a DP so that that query will show up.
    Other commands that will help you would be SET_ITEM_PARAMETERS using which you can hide analysis items and also, you can use the command BACK_TO_INITIAL_DP_STATE on data providers so that they do not show up if they were blank at the start.
    Another way to hide a query is to assign the analysis item to a data provider which is blank.
    For your requirements, you will have to put multiple commands behind each button - you can decide which of the above commands suit you best.

  • HELP using command button in J2ME

    Hi
    I am trying to create a simple code using the command button, but when i try 2 run my program, it gives the following error:
    java.lang.ClassCastException
         at test1.startApp(+81)
         at javax.microedition.midlet.MIDletProxy.startApp(+7)
         at com.sun.midp.midlet.Scheduler.schedule(+266)
         at com.sun.midp.main.Main.runLocalClass(+28)
         at com.sun.midp.main.Main.main(+116)
    Could anyone tell me where the problem could be? Im attaching my code below.
    Thanks in advance
    Regards
    Shikha
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.midlet.MIDletStateChangeException;
    import javax.microedition.lcdui.*;
    import java.util.*;
    public class test1 extends MIDlet {
         Random generator;
         Form basicForm;
         Command appendCommand;
         public test1() {
              super();
              System.out.println("Constructor: test1()");
              // TODO Auto-generated constructor stub
         protected void startApp() throws MIDletStateChangeException {
              System.out.println("StartApp()");
              //create and seed a new Random generator with the current time.
              generator = new Random( System.currentTimeMillis() );
              //get the display for this MIDlet
              Display display = Display.getDisplay( this );
              //create a new Form with the title "Form Title"
              basicForm = new Form("Form Title");
              //append the string "My basic Form" to the new Form
              basicForm.append("My basic Form");
              //Create a new Command to catch user input
              appendCommand = new Command("Random", Command.SCREEN, 1);
              //adds the appendCommand to the basicForm
              basicForm.addCommand( appendCommand );
              try{
              //set the Forms CommandListener to this instance. so all Command
              //events are passed to us.
              basicForm.setCommandListener((CommandListener)this);
              }catch(Exception e){
                   System.out.println("Exception is->"+e.toString());
                   e.printStackTrace();
              // set the current Displayable to the new Form
              display.setCurrent( basicForm );
         public void commandAction( Command c, Displayable d )
              //check if the commandAction event is triggerd by our appendCommand
              if( c == appendCommand )
                   //append a String to the form with a random number between 0 and 50.
                   basicForm.append("Random: " + ( Math.abs( generator.nextInt() ) %50 ) + "\n");
         protected void pauseApp() {
              // TODO Auto-generated method stub
         protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
              // TODO Auto-generated method stub
              System.out.println("destroyApp()");
    }

    basicForm.setCommandListener((CommandListener)this);You're trying to cast your MIDlet subclass (aka, "this") to a CommandListener, but you haven't specified that it implements that interface. So you need to declare the class as follows:
    public class test1 extends MIDlet  implements CommandListener {shmoove

  • IPhoto events duplicate my pictures and use up my space

    When I organize my pictures in iPhoto events, pictures duplicate and use up my space/memory, what can I do? I have a MacBook Air and I have used up all my free space because I tried to organize my pictures. I will rather have my pictures organized by events, where are the duplicates being saved? How can I eliminate them so I only have them at events?

    Where are you seeing these duplicates?  Remember if you're seeing them in the Events mode and the Photos mode those are the same. The photos mode is just a different way of viewing the photos in the Events,  There's no duplications.
    As Larry requested please describe your workflow and where you're seeing the duplication.

  • How to remove submit buttons on workspace and use submit buttons on PDF instead?

    I am working with LiveCycle ES2. I will get submit buttons automatically render on workspace according to routes i designed after User component. However, I do not want that submit buttons on Flex. I would like to use submit buttons on PDF as designing in LiveCycle Designer.
    Could you please give a suggestion on this?
    Mac

    You would also want to ensure that the Adobe LiveCycle Form Bridge is not on the form.
    Here are some scenarios, from the Workbench help, which may help:
    If your process uses Adobe XML forms (XDP files), you can render the form to PDF and then use the Inject Form Bridge operation. To render to PDF, you use the renderPDFForm operation that the Forms service provides.
    Workspace ES provides a Complete button that users click to submit their forms. However, forms can also include submit buttons. When the Inject Form Bridge operation is used on a form, Workspace ES either hides the submit button, or disables the Complete button.
    Form design
    Result
    Design: The form includes no submit button.
    Result: Workspace ES disables the Complete button and users cannot submit the form.
    Design: The form includes one submit button.
    Result? Workspace ES hides the submit button and enables the Workspace ES Complete button.
    Design: The form includes a button (indirect submit) that points to a submit button (direct submit)
            Indirect-submit buttons always take precedence over direct-submit buttons, even if multiple submit buttons exist. Workspace ES always shows the indirect submit buttons.
    Result: Workspace ES hides the submit button and enables the Workspace ES Complete button.
    Design: The form includes multiple indirect-submit buttons that point to one or more direct-submit buttons.
    Results: Workspace ES disables the Workspace ES Complete button. The user must click the appropriate button on the form to submit it.
              The user can still save a draft version of the form or take the form offline
    Design: The form includes either an indirect- or direct-submit button in a repeating subform.
    Result: Workspace ES excludes these buttons for submitting the form in Workspace ES.
    Note: When the submit button that was added to the form design with the Process Fields form object to the form design is hidden, the button still provides the functionality for submitting the form.
    Submit requests are handled by Workspace ES, which acts as an intermediary between the LiveCycle ES server and the form. Also, forms can be used both offline and online.
    Hope that helps.

  • How to create a button in a interactive document and use the button to launch and external "exe." file.

    I created an interactive document and will export as a swf.  I would like to create a button in the interactive document to launch and external "exe." file. Is this possible.

    You will need to create custom web part editor. Look at the following example. It also have added button and its events. I am sure you can use this sample as base and code your logic.
    http://msdn.microsoft.com/en-us/library/hh228018(v=office.14).aspx
    Amit

  • How can I load a picture and use it in ActiveX in run time ??

    I am using an ActiveX object which needs a property "picture" as input.
    I can set the picture property in its property page in design time, but I don't know how to give it a "picture" in run time.
    In VB, I can do:
    dim pic As Picture
    pic = loadpicture("c:\test.bmp")
    control_1.picture = pic
    (("control_1" is the ActiveX object, and picture is the property))
    How can I do the same with labview?
    Is there any example that sets the picture property of an ActiveX in run time?

    sealiker wrote:
    I am using an ActiveX object which needs a property "picture" as input. I can set the picture property in its property page in design time, but I don't know how to give it a "picture" in run time. In VB, I can do:   dim pic As Picture pic = loadpicture("c:\test.bmp") control_1.picture = pic (("control_1" is the ActiveX object, and picture is the property))   How can I do the same with labview? Is there any example that sets the picture property of an ActiveX in run time?
    As
    far as I understand from the MSDN site, it seems that the Picture
    datatype is a specific VB only datatype. Most probably it is a handle
    (uInt32) value as far as other programs including LabVIEW are
    concerned, but there is no way that LabVIEW could deal with this
    datatype directly.
    If you can convert this datatype with some VB fucntions into a HBITMAP
    or HDIB then you could call some Win32 API functions to extract the
    relevant bitmap data from this common Win32 datatype and get somewhere
    from there. OR it maybe that VB itself has other functions to extract
    the bitmap data, color palette and other attributes of the Picture
    datatype. Don't expect LabVIEW to be able to deal with the Picture
    datatype directly though, this is really a proprietary VB thing.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Problem with data table and internal and external command button

    thanks for your time,
    i have this problem
    <t:dataTable binding="#{manejadorAsociarEvaluadoresProyecto.tablaPosiblesEvaluadores}"
    cellpadding = "6"
    cellspacing = "3"
    value = "#{manejadorAsociarEvaluadoresProyecto.listaPosiblesEvaluadores}"
    var = "posibleEvaluador"
    preserveDataModel="false">
    <h:inputTextarea value="#{posibleEvaluador.correoActualCuerpo}"
    cols="50"
    rows="50"
    rendered="#{posibleEvaluador.detalle}" />
    <h:commandLink immediate="false" action="#{posibleEvaluador.editar}" value="Editar Correo"/>
    </t:dataTable>
    <h:panelGroup id="panelBotonEvaluadores" rendered="#{!manejadorAsociarEvaluadoresProyecto.b_mostrarEvaluadores && manejadorAsociarEvaluadoresProyecto.tieneProyectos}">
    <h:commandButton action="#{manejadorAsociarEvaluadoresProyecto.mostrarEvaluadores}"
    value="Asociar evaluadores"/>
    </h:panelGroup>
    this is the method of posibleEvaluador
    public String editar()
    setDetalle(!getDetalle());
    return "";
    all run perfect, until y click in "asociar evaluadores" button, after of this the commandLink "editar Correo" not run, this commanlLink is for not show the inputTextArea, i don't know what happend.
    thanks for your help

    Hello,
    I have replicated and confirmed the problem with LabVIEW 2010, Report Generation Toolkit 2010 and Word 2010.  I have filed this to R&D under CAR ID #257414.  As a workaround you can manually set each cell using Word Edit Cell.vi.  I have attached a simplified representation of this unexpected behavior as well as the workaround.  Hopefully this helps everyone out!
    David_L | Certified LabVIEW Architect
    LabVIEW Tools Network | LabVIEW Tools Network Developer Center
    Attachments:
    Word 2010 Table CAR.vi ‏17 KB
    Word 2010 Table FIX.vi ‏22 KB

  • TextFields and using tab button

    i'm working on a program that calculates my hours from work and addst them up for me... my prob is that i set up array of text fields for starthour, startminute, am/pm and then endhour, endminute, am/pm... the textfields are placed vertically so each line is
    starthour startminute am/pm endhour endminute am/pm
    but because i did it in gridlayout vertically and not horizontally when i layed it out when u try to use the tab key to switch the box ur in it goes down instead of across... is there a way i can fix that without redoing my hole layout set up... here is some code:
    GridLayout layout = new GridLayout(1, 10, 5, 5); //1 row 10 column
              this.setLayout(layout);
              GridLayout grid = new GridLayout(3, 1, 5, 5); // row 1 column
              //setup column0 -- numberLabel
              column0.setLayout(grid);
              for(int i = 0; i < 3; i++)
                   numbers[i] = new Label(i + ": ");
                   column0.add(numbers);
              this.add(column0);
              //setup column1 -- startHour
              column1.setLayout(grid);
              for(int i = 0; i < 3; i++)
                   startHour[i] = new TextField(); //creates new TextField object
                   column1.add(startHour[i]); //adds the 6 text boxes next to numbers
                   startHour[i].addTextListener(this);
              this.add(column1);
              //setup column2 -- startMinutes
              column2.setLayout(grid);
              for(int i = 0; i < 3; i++)
                   startMinutes[i] = new TextField();
                   column2.add(startMinutes[i]);
                   startMinutes[i].addTextListener(this);
              this.add(column2);
              //setup column3 -- startNightOrDay
              column3.setLayout(grid);
              for(int i = 0; i < 3; i++)
                   startNightOrDay[i] = new TextField();
                   column3.add(startNightOrDay[i]);
                   startNightOrDay[i].addTextListener(this);
              this.add(column3);
    that's just a section let me know

    Would this article help you?
    How to Use the Focus Subsystem

  • How to crop and use in new picture

    I am trying to crop something from a picture and use that crop into a new picture.
    how do i achieve this?
    much appreciated!

    Are you able to post the image in question?
    It sounds like your best bet would be to either use the pen tool to cut the image out or the Quick selection tool.
    Here are a couple of tutorials on how to use both of these tools:
    Quick Mask Mode | Understanding Adobe Photoshop CS6 | Adobe TV
    How To Use The Pen Tool in Adobe Illustrator, Photoshop and InDesign CS6 | Adobe Evangelists - Terry White | Adobe TV
    I hope these help..?

  • JDev 10 - disable command button depending on which row is selected

    I am using JDeveloper 10, and I have a table which has some data columns and a selection facet with View and Edit command buttons.
    I would like all rows to be viewable. When you click the view event it goes to another .jsp with the view action.
    It does the same thing with the edit action, however I would like to only allow rows which have an EffectiveDate column in the future to be editable.
    Is there some way to disable the edit button when those rows are selected, or to throw a validation error when the edit button is clicked for that row?
    Thanks!
    Jeff
              <af:table value="#{bindings.RateList.collectionModel}" var="row"
                          rows="#{bindings.RateList.rangeSize}"
                          first="#{bindings.RateList.rangeStart}"
                          emptyText="#{bindings.RateList.viewable ? 'No rows yet.' : 'Access Denied.'}"
                          selectionListener="#{bindings.RateList.collectionModel.makeCurrent}"
                          selectionState="#{bindings.RateList.collectionModel.selectedRow}">
                  <af:column sortProperty="RateType" sortable="false"
                             headerText="#{bindings.RateList.labels.RateType}">
                    <af:outputText value="#{row.RateDescription}"/>
                  </af:column>
                  <af:column sortProperty="EffectiveDate" sortable="false"
                             headerText="#{bindings.RateList.labels.EffectiveDate}">
                    <af:outputText value="#{row.EffectiveDate}">
                      <f:convertDateTime pattern="dd-MMM-yyyy"/>
                    </af:outputText>
                  </af:column>
                  <f:facet name="selection">
                    <af:tableSelectOne text="Select and">
                      <af:commandButton text="View" action="view">
                        <af:setActionListener from="#{row.rowKeyStr}"
                                              to="#{requestScope.requestRowKey}"/>
                      </af:commandButton>
                      <af:commandButton text="Edit"
                                        action="edit"/>
                    </af:tableSelectOne>
                  </f:facet>
                </af:table>

    So, I first tried using Chan advice, I added a new editable property from the database and then added Edit buttons to each row in the table with disabled property set to the editable property.
    This correctly displayed buttons which were editable in the correct rows.
    However, I was no longer using the select functionality which passed the rowId of the selected row to the edit page.
    I wasn't able to quickly solve this problem so I tried John's solution.
    I feel really dumb, but after about 20 rereadings it was still completely Greek to me, I have no idea what he was recommending.
    So I added onclick="return editTest()" to the Edit button.
    The I added ID to the relevant locations, and the following javascript to the page, and this is working well enough now.
    (Oh, I display the date in a slightly odd dd-MMM-yyyy format, due to slightly odd customer requirements.)
    I've probably misspelled one of the months, haven't yet finished testing.
    A couple of gotchas I found
    - Do not add onclick="editTest()" or else it will continue processing and allow all rows to be edited.
    - Putting date = document.getElementById('mainFormId:tableId:'+i+':EffectiveDateId'); would work for the original search,
    but after filtering results i and found_it are not equivalent, and date was not found in the page.
               function editTest(){
                  var found_it;
                  var date;
                  for (var i=0; i < document.getElementsByName('mainFormId:tableId:selected').length; i++)  {
                     if (document.getElementsByName('mainFormId:tableId:selected').checked) {               
    found_it = document.getElementsByName('mainFormId:tableId:selected')[i].value;
    date = document.getElementById('mainFormId:tableId:'+found_it+':EffectiveDateId');
    var result = date.innerHTML.split("-");
    var day = result[0];
    if (day.charAt(0) == '0'){
    day = day.charAt(1);
    var month;
    var monthTxt = result[1];
    switch (monthTxt) {
    case 'Jan':
    month=0;
    break;
    case 'Feb':
    month=1;
    break;
    case 'Mar':
    month=2;
    break;
    case 'Apr':
    month=3;
    break;
    case 'May':
    month=4;
    break;
    case 'Jun':
    month=5;
    break;
    case 'Jul':
    month=6;
    break;
    case 'Aug':
    month=7;
    break;
    case 'Sep':
    month=8;
    break;
    case 'Oct':
    month=9;
    break;
    case 'Nov':
    month=10;
    break;
    case 'Dec':
    month=11;
    break;
    default:
    month=11;
    break;
    var year = result[2];
    var today = new Date();
    var effDate = new Date();
    effDate.setDate(day);
    effDate.setMonth(month);
    effDate.setYear(year);
    if (effDate < today) {
    alert ('Sorry, you cannot change a rate with an effective date in the past');
    return false;
    } else {
    return true;

  • BEx Command button filter

    BW 7 Problem!
    In BW we have a hierarchy similar to the one shown below
    COST_ELEMENT_HIERARCHY
                    LABOUR_ENGINEERING
                                    CATEGORY_E
                                    CATEGORY_F
                    LABOUR_OPERATIONS
                                    CATEGORY_A
                                    CATEGORY_B
                                    CATEGORY_C
                                    CATEGORY_D
                                    CATEGORY_G
                                    CATEGORY_H
                    MATERIAL
                                    MATERIAL_A
                                    MATERIAL_B
                                    MATERIAL_C
                                    MATERIAL_D
                    SUB_CONTRACT
                                    SUB_CONTRACT_A
                                    SUB_CONTRACT_B
                    EXPENSES
    In a BEx workbook we are trying to use Command Buttons and other methods to set filter values based on the parent nodes in the hierarchy.  For example LABOUR ENGINEERING.  Unfortunately the command button filter does not seem to work for parent nodes only for child nodes.
    The parameters on the command button are as follows.
    Name                                      Index      Value
    DATA_PROVIDER             1              DATA_PROVIDER_1
    CMD                                      1              SET_FILTER
    FILTER_IOBJNM                1              0COSTELMNT
    FILTER_VALUE_EXT        1              LABOUR_ENGINEERING
    FILTER_COLLAPS              1
    Even using the wizard to set up the command ends in an incorrect node or nothing being applied in the filter box.
    So the question is, is something missing/incorrect in the command sequence or is it something else entirely?
    If nobody knows is there any other way to set it other than Right Click u2013 Select Filter Value?
    Thanks in advance for any help.

    You can look at Marc Bernards reply in
    Re: who has samples for the sapbex api ?
    for the full documentation on the Excel API...
    http://help.sap.com/saphelp_bw33/helpdata/en/f1/0a55f9e09411d2acb90000e829fbfe/frameset.htm
    Edited by: Arun Varadarajan on Apr 27, 2009 8:26 PM

  • Bugs with Linking and Audio Solo buttons

    * Solo function doesn't work properly
    Stereo audio pair on A7 & A8. Audio in viewer shows pan set to -1 for normal stereo. Solo button for A7 give you audio in the left channel. Solo button for A8 gives you NO AUDIO. This button should give you audio in the right channel and yet it doesn't.
    * Can't relink multiple clips
    Select a group of clips and use command+L to unlink them. You should be able to reverse this process and relink them all with the same operation but YOU CAN"T. NOW YOU HAVE TO RELINK EACH CLIP INDIVIDUALLY by laboriously selecting the video, then the audio, and then invoking command+L for every single clip. This is stupid and counter-intuitive.
    Hello Apple???? Are you listening??????
    Message was edited by: Dave Berges

    Select a group of clips and use command+L to unlink them. You should be able to reverse this process and relink them all with the same operation but YOU CAN"T.
    CMD-Z (undo) doesn't work?
    Stereo audio pair on A7 & A8. Audio in viewer shows pan set to -1 for normal stereo. Solo button for A7 give you audio in the left channel. Solo button for A8 gives you NO AUDIO. This button should give you audio in the right channel and yet it doesn't.
    Is this ONLY if the audio is on A7 and A8? Well, I tried that on my end and it worked, no matter WHAT tracks I were on. Try trashing preferences.
    Shane

  • Adding multiple 100% width slideshows to the top of a page and using triggers to select.  Is it possible???

    Hi!
    I am looking to create a changeable slideshow at the top of a webpage. I want to be able to select different slideshows to view at the top of the page and use triggers/buttons to select the relevant slideshow. This is for a catering site, so I would like that if the user clicks 'canapes' button the slideshow images at the top of the page will show canapes and the caption will show text about them, if they select the 'cocktails' button then a new slideshow will appear showing images of cocktails together with a relevant caption. 
    I thought this might be possible by placing slideshows within a lightbox or composition widget but seem to be banging my head against the wall! Can someone help?
    Is it possible?
    If yes, is there a youtube video to show how its done?
    Any help much appreciated.
    Martin

    Is it possible? Yes... I wouldn't do it because having all those images sitting on the one (first) page will slow the page loading times down and just piss people off but thats your main answeer.
    The compositions widgets allow you to build more complex ideas and is what I'd use to make this sort of thing in Muse...
    p.s. if you just want something fast then have a look at what some people have already made to get ideas;
    1. Templates – MuseLayers
    2. iChef | Culinary Arts Adobe Muse Template | museGrid.com
    3. RESOURCES | Adobe Muse CC

Maybe you are looking for

  • Homesharing - 1 computer not 3

    Homesharing thinks I have 3 computers registered to my account but I only have 1. They are all the same - my hard drive was wiped twice for repair. How do I rectify this?

  • Break up one file into two

    Hi, I'm new to pages and really haven't done anything like this before. I created a 4 page brochure document. The printer is telling me that I have to upload two seperate files-- a back page, pgs 1 and 4 and a front page, pgs 2-3. Is there anyway to

  • ITunes won't run/is unresponsive

    QuickTime works just fine, but when I attempt to run iTunes, the cursor changes to busy for a few moments and then nothing happens. iTunes is running (in some form) according to the Task Manager and when I try to shut down my PC, a pop-up saying "iTu

  • Photoshop Crashing after Loading with Leopard

    Is anyone else having this problem? Photoshop CS3 loads up fine with Leopard, but a few seconds after the tool bars appear, it crashes. I tried re-installing Photoshop, but the same thing happens. Any suggestions?

  • Keynote locks up on first slide

    My keynote Locks up when I try to play it.  It will show the first slide but will not let me advance or quit.  I have to hold "option, shift, command ,esc" for 3 secs to force quit keynote.  I have nothing fancy in the keynote.  I can start a new one