Strange behavior of the LoadLocalizedPanel Panel

Hi all:

When I use LoadLocalizedPanel to make my program with multilingual:

void CVICALLBACK menu_English_Select_Click (menubar, menuItem int int, void * callbackData, Panel int)
{
char buf [256] = "";
char bufABOUT [256] = "";

char tmp [128] = "";
kal_uint8 strPath [MAX_PATHNAME_LEN];
kal_uint32 i;

char [MAX_PATHNAME_LEN] langFilePath;
int appLanguage;
int panelLLP, dialog, error = UIENoError;

<>
Returns - 1;

appLanguage = ENGLISH;

GetLocalLanguageFilePath (appLanguage, langFilePath);

<>
{
If (error is UIEFileWasNotFound)
{
char errBuf [ERR_MSG_LEN];

sprintf (errBuf, ' error loading Panel. ") Cannot find the \nlanguage file \"%s\". " (', langFilePath);
MessagePopup ('error', errBuf);
}
Returns - 1;
}

DisplayPanel (panelLLP); If I DisplayPanel this Panel, it will be out of the control of main didn't work

RunUserInterface ();

DiscardPanel (panelLLP);
}

If I "DisplayPanel" this Panel, it may change the language of my program, but it will all main control did not work. For example, if I click on the button (belong to main) to select the file to open, the chain control cannot have that wire path and if I click on the button (belong to main) to do something, he does the effect too.

If I annotate it(//DisplayPanel (panelLLP) it only changes the language of the menu bar and no tongue. the main but all main control works properly.)

Why is - this problem appear?

Behavior of strage DefaultPanel/DefaultCtrl on panel located
http://forums.NI.com/T5/LabWindows-CVI/strage-behaviour-of-DefaultPanel-DefaultCtrl-on-localized-pan...

It is a reminder for a control on an existing group, right?

In which case, you should not call RunUserInterface once: the problem you are experiencing may derive from this.

In addition, if you want to locate the active panel, you can simply use LocalizePanel by passing the handle to the existing Panel, without the need to load again: the original panel and the newly loaded otherwise is cohexist in memory and on the screen until you explicitly throw one of them.

Tags: NI Software

Similar Questions

  • I get a strange behavior of the bar tabs and the address bar in Firefox 29,0 for Mac.

    I just installed Firefox 29,0 for Mac.
    I have a strange behavior of the bar tabs and the address bar with this new version.
    Instead of the address bar, I get two rows of symbols. And it is impossible to write anything in the address bar.
    (I add a screenshot, but I can't find a way to do it).

    Firefox has an RSS icon in the palette of the toolbar that you can drag a toolbar (but not on the location bar container).

    • Firefox menu button > Options/Preferences > toolbars
    • View > toolbars > customize
  • Strange behavior of the browser blocks SQLDEV DM

    Hello

    I feel some strange behaviors in the browser of Datamodeler.

    After the opening of my model

    I have doubleclick in the window of the browser to fetch a few properties of the index:

    Drawings and models > MyModel > relational models > my RelModel > models > Oracle Database 10g > Tables

    So far, everything that happens.

    -I can select the tables and

    -doubleclicking shows the properties of the table.

    -I can scroll vertically

    -Select other tables

    -open and close the subtree of this physical tables

    Now, as soon as I click on any 'more' in the physical tables (for example, the index node or node of the plate) the browser "tri-de gel".

    The tree is distorted, scrolling seems erratic and it is impossible to select. Most of the time the main menu is also distorted.

    If I make the browser window, most of the time I'm able to hit the "file > save" from the menu. The model seems to be registered properly.

    No damage seems to have been done to the template on the reopening

    I'm on Windows 8 pro with the 64-bit version of datamodeler version 4.1.2.895 (from datamodeler - x 64 - 4.1.2 - 895.zip)

    Any ideas anyone?

    any response greatly appreciated.

    concerning

    Wouter

    Hi Wouter,

    I'm sorry, this is a bug and we are preparing a new version with this bug fixed.

    If I make the browser window, most of the time I'm able to hit the "file > save.

    Close the Data Modeler (X - close button in the upper right corner) and it will ask to save the drawing it is changed.

    Philippe

  • Strange behavior of the rectangle tool

    I drew a rectangle with the rectangle tool and got a form than of a conical label around the rectangle. Never seen that before and I could not duplicate once I opened the application again. This seems a strange behavior of the app, or is there something that I don't know this tool? Please tell me this is something lacking in my knowledge base. It drives me crazy

    Monika, yes it was. He worked with the forward Warp effect. Thank you for your response. Mental health is back thank you for your kindness

  • Strange behavior with the PSD in Photoshop

    I am currently working with a two-page ID CS5.5 document. This is a CMYK document with CMYK images and grayscale.

    Strange behavior is the following: I have a gray levels (tiff) image that is repeated on the page 1 and page 2. This image looks completely different from page 1 to page 2. I have triple checked everything (opactiy, effects, etc.) and then I started to remove items from page 2 one by one.

    As I deleted a psd file all of a sudden all the images in grayscale on page 2 changed his appearance to match page 1. The PSD in question is also in CMYK with a transparent background. What the frack happens?

    I'm more concerned to know if it makes a difference when it goes to print, or if it's just weird screen in InDesign.

    Anyone who has heard of this or know why this happens - would like to hear from you.

    Thank you!

    I think it's simply because of full transparency on the page. Should not affect the production of gray images... but check in Acrobat.

    Mike

  • Strange behavior with the function «Help in command line»

    So I do a little playing with the opening of the files compiled help (.chm) with the command-line help feature, and I saw a strange behavior when trying to index multi-level access keywords. According to the documentation, if you set the 'Key' operation, you can enter a value for ' string to search for "to access this section. The more precise help that:

    If this string contains a keyword index, the string must match the key of the index as it appears in the help index file. To access a topic with a multilevel index keyword, enter the keyword of the top-level index, a colon and the keyword of the second level index. Do not separate the elements with spaces. For example, a chain of error codes: GPIB jumps about a subject with a keyword of top-level index of error codes and a second level keyword index of GPIB.

    All right, seems simple enough. Except that when I tried, I couldn't work, even with the example provided. I tried the following simple test:

    Opens the help file, but it opens to this page, not to the page ' error codes: GPIB "non-descript. I saw this in 8.2 and 8.6. Anyone have any success with access to a multi-level keyword?

    Note - side

    Curiously, the Index for the help lvconcepts.chm file looks like this:

    In other words, the input index text is just "GPIB", but the text that appears in the keyword field is "codes error, GPIB. I'm curious to know how this was accomplished. I decompiled the lvconcepts.chm file and watched the .hhk file, and it is not immediately obvious to me. (By the way, if you try to use "error codes, GPIB" it does not either).

    Hello

    Please contact National Instruments!
    It is a very strange behavior.  I tested out and seen the exact
    same results you are experiencing.  This was reported to R & D (AUTO ID # 130246) for further investigations.
    From what I can tell the a possible workaround solution that we have documented
    in the post of root Canal.  I can't continue to look into this in order
    to see if there is no other workaround solution or a reason why it is
    run in this way.  Thanks much for the feedback!  If
    you have any other questions on this subject please post them here.
    Have a great day!

  • Strange behavior of the CAM Table SG300-28

    We have two switches SG300-38, both set to update to the latest firmware (1.1.2.0) and the two experience a strange problem in the MAC address Table. It seems that switches cannot learn the mac address, or forget too quickly learned in MACs.

    The switches have a very basic, just configuration of VLAN, but the problem is constant in all the VLANS. Whenever we start a file transfer, we can see (and we have confirmed with packet capture) traffic is flooded among all other ports.

    To test it, we added a few MACs static, and the traffic to these Mac works correctly.

    Please, can I do to stop this behavior? It seems that we have gone back to the time of the Hub!

    Natalio,

    This firmware fixed some issues with the MAC address tables. Factory reset switch and reconfigure and test it. I've seen a few problems when upgrading to the latest 1.1.2.0 fabless switches - 10% of cases have to factory reset reset.

    Jasbryan

  • Strange behavior of the ADF in IE

    Dear Guru,

    We have an application developed using Jdeveloper - 11.1.2.3 and deployed to production WLS - 10.3.5, when running applications through internet Explorer became 'with the exception of compatibility"then we added under settings in the application (as suggested in many blogs) Web.XML and deployed the same,

    < context-param >

    oracle.adf.view.rich.HIDE_UNSUPPORTED_BROWSER_ALERTS < param-name > < / param-name >

    IECompatibilityModes < param-value > < / param-value >

    < / context-param >

    Now not to launch except for compatibility but demand was showing strange behavior as

    (1) after that expiry of the IE user page should clear the cache to re-login to the application, that is not the case in chrome and mozilla.

    (2) little components or records show not yet what is normal in chrome and mozilla.

    Please help me out.

    Best regards,

    Hello

    Please specify the version of Internet Explorer. Remove the entry mask not supported.

    To set this feature, use the following:

    1. for 11.1.1.6.0, 11.1.2.0.0, 1. 11.1.2.2.0 and 11.1.2.3.0, download and apply the hotfix 14400317 in your JDeveloper/ADF environment.

    2. for all the above mentioned versions, add the context-param for version detection of agents activated using the version of Trident on the version of the browser in the Web.XML in your ViewController project:


    org.apache.myfaces.trinidad.Agent #OVERRIDE_IE_COMPATIBILITY_MODE
    true

    I also tried this and his work in my environment of webcenter for IE 8 and 9.

    Reference:something about the Fusion Middleware: work around IE (IE8/9) Compatibility Mode in ADF/WebCenter App

    Thank you
    Amey

  • [MAF - AMPA] Strange behavior of the MAF with REST service

    Hi MAF Experts.

    I just noticed that there is a strange behavior in my application of the MAF. The first loading of the page, amx:page does not make its contents (of REST). However if I kill the app and relaunch the app, content appears.

    Pattern:

    1. Start of the CRG App
    2. Opening of session
    3. Dashboard (the content is rendered)
    4. Go to any other aspect (lets say a list of products)
    5. Open product list (content do not get returned)
    6. Kill the MAF application
    7. Start of the CRG App
    8. Dashboard (the content is rendered)
    9. Go to the product list
    10. List of products (content gets rendered)

    I put a few breakpoints on EntityCRUDService and RestPersistenceManager.

    So far it return the list of entities and display the correct data (from watches in debug mode)

    Last thing I noticed is the red color below. She defined the EntityList with the new value of REST (This displays a correct value).

    TaskExecutor.getInstance (.execute (isDoRemoteReadInBackground ())

    , () -> {

    Auto Sync all actions pending first, pass false for inBackground because

    We want to process actions pending before the reading distance

    getDataSynchManager (.synchronize (false));

    The list of entities < E > = executeRemoteFindAll();

    If (entities! = null)

    {

    When an error occurs (for example server is not available, the method returns the value zero)

    setEntityList (entities);

    }

    });

    Any suggestion?

    All the rest service are configured with AutoQuery = true in the persistence - mapping.xml

    See you soon,.

    Hendry

    Hendry,

    Thanks your testcase, I was able to understand the problem.

    It turns out that MAF 2.1 has problems dealing with the advanced way in which AMPA running background tasks with the help of a thread in all of features.

    We have slightly modified the implementation in AMPA to use one thread per function and now the update issue is resolved. I sent you a link to new construction.

    We will publish the new generation soon on GitHub so that others can benefit in the same solution.

    Steven Davelaar,

    Oracle Mobile A-team.

  • Strange behavior of the network

    Hello. I am testing now ESXi 6.0 and I have a very strange behavior of network on Windows Server 2012 R2 and Windows Pro 8.1.

    I have the following virtual machines:

    1. Windows Server 2012 R2 domain controller;
    2. Additional server with no services on Windows Server R2 2012;
    3. Some PC on Windows Pro 8.1;
    4. Linux Debian Server 7;

    The problem is sometimes VMs Windows network connection loss.

    When I connect to the console Windows 8.1 I see icon disconnected network which changes whenever I'm online. Windows Server does not display this icon, so I can't say anything whatsoever thereon.

    After I investigate this problem, I changed network cards set by disabling the option to sleep. Also I changed eating patterns by disabling all the options of sleep.

    Now. VMs of Windows 8.1 seems to work very well, additional server seems to work fine too. VM Linux works well from the beginning. But DC VM is still periodically lose network and re-login, only when I turn off and turn the adapter by hand.

    I have no idea what to check out more. I also checked logs on DC VM and vmware.log on ESXi host and don't have not find anything this network disconnects or Power Manager.

    OK, this may be. There is no available e1000e with the stand-alone installation.

    Have a trie with the vmxnet3 map

  • Strange behavior on the web page of preloading in WebView

    I have the following problem: in my Swing application, I want to display a web page. To do this, I use a JFXPanel that contains a WebView. The web page must be loaded in the background, and only if the loading process is totally finished I want to make the JFXPanel visible. I use thegetLoadWorker().workDoneProperty() method of the corresponding WebEngine to determine if the page is totally loaded.

    The problem is, now that the JFXPanel gets visible, I see initially a totally empty Board, and after a short period, the web page in Web view is visible. I made a simple Application demo that reproduces this behavior. If the page is loaded, a button is enabled and clicking on this button adds the WebView Panel below. In addition the link following points to an animated gif that shows the behavior: http://tinypic.com/view.php?pic=oh66bl & s = 5 #. Ujv2IhddWKl

    Here is the code of the demo application:

    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javafx.application.Platform;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.embed.swing.JFXPanel;
    import javafx.scene.Scene;
    import javafx.scene.web.WebEngine;
    import javafx.scene.web.WebView;
    import javax.swing.JFrame;
    import javax.swing.SwingUtilities;
    public class WebViewTest extends javax.swing.JPanel {
    
       private static JFXPanel browserFxPanel;
       private WebView webView;
       private WebEngine eng;
    
       /**
      * Creates new form WebViewTest
      */
       public WebViewTest() {
      initComponents();
       Platform.setImplicitExit(false);
      browserFxPanel = new JFXPanel();
       Platform.runLater(new Runnable() {
       public void run() {
      webView = createBrowser();
       Scene scene = new Scene(webView);
      scene.setFill(null);
      browserFxPanel.setScene(
      scene);
       }
       });
       }
    
       /**
      * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The
      * content of this method is always regenerated by the Form Editor.
      */
       @SuppressWarnings("unchecked")
       // <editor-fold defaultstate="collapsed" desc="Generated Code">  
       private void initComponents() {
      java.awt.GridBagConstraints gridBagConstraints;
    
      pnlMain = new javax.swing.JPanel();
      showWebpageButton = new javax.swing.JButton();
    
      setLayout(new java.awt.GridBagLayout());
    
      pnlMain.setLayout(new java.awt.BorderLayout());
      gridBagConstraints = new java.awt.GridBagConstraints();
      gridBagConstraints.gridx = 0;
      gridBagConstraints.gridy = 1;
      gridBagConstraints.gridwidth = 3;
      gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
      gridBagConstraints.weightx = 1.0;
      gridBagConstraints.weighty = 1.0;
      add(pnlMain, gridBagConstraints);
    
      showWebpageButton.setText("show web page");
      showWebpageButton.setEnabled(false);
      showWebpageButton.addActionListener(new java.awt.event.ActionListener() {
       public void actionPerformed(java.awt.event.ActionEvent evt) {
      showWebpageButtonActionPerformed(evt);
       }
       });
      gridBagConstraints = new java.awt.GridBagConstraints();
      gridBagConstraints.gridx = 1;
      gridBagConstraints.gridy = 0;
      gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
      add(showWebpageButton, gridBagConstraints);
       }// </editor-fold>  
    
       private void showWebpageButtonActionPerformed(java.awt.event.ActionEvent evt) {   
      pnlMain.removeAll();
      pnlMain.add(browserFxPanel, BorderLayout.CENTER);
       WebViewTest.this.invalidate();
       WebViewTest.this.revalidate();
       }   
       // Variables declaration - do not modify  
       private javax.swing.JPanel pnlMain;
       private javax.swing.JButton showWebpageButton;
       // End of variables declaration  
    
       private WebView createBrowser() {
       Double widthDouble = pnlMain.getSize().getWidth();
       Double heightDouble = pnlMain.getSize().getHeight();
       final WebView view = new WebView();
      view.setMinSize(widthDouble, heightDouble);
      view.setPrefSize(widthDouble, heightDouble);
      eng = view.getEngine();
      eng.load("http://todomvc.com/architecture-examples/angularjs/#/");
      eng.getLoadWorker().workDoneProperty().addListener(new ChangeListener<Number>() {
       public void changed(ObservableValue<? extends Number> ov, Number t, Number t1) {
       final double workDone = eng.getLoadWorker().getWorkDone();
       final double totalWork = eng.getLoadWorker().getTotalWork();
       if (workDone == totalWork) {
      showWebpageButton.setEnabled(true);
       }
       }
       });
       return view;
       }
    
       public static void main(String[] args) {
       SwingUtilities.invokeLater(new Runnable() {
       public void run() {
       final JFrame f = new JFrame("Navigator Dummy");
      f.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
      f.setSize(new Dimension(1024, 800));
       final WebViewTest navDummy = new WebViewTest();
      f.getContentPane().add(navDummy);
      f.setVisible(true);
       }
       });
       }
    }
    
    
    

    I don "t understand this behavior, in fact the page has already been loaded. To me, it seems that the WebView starts to render the site just to the point where it becomes visible. What can I do to get the WebView already shows the web page is loaded right now that it becomes Visible (to avoid this effect of flickr)?

    I already posted this question on StackOverflow (see http://stackoverflow.com/questions/18873315/javafx-webview-loading-page-in-background ) but didn't get an answer and found this forum today.

    Thanks in advance!

    Try the updated version in this post.

    It requires a snapshot offscreen before displaying the Web mode to make sure all is rendered before the Web is displayed.

    The code is kind of ugly and the 'solution' is a bit of a hack, you would probably want to clean it up a bit before using it anywhere (for example, there is no need to create a new WebView and snapshot, web page on each load - I did it just to get a feel for the worst-case scenario and try to pinpoint where are produce slowdowns).

    A small rectangle moves back on the top of the screen so that the fluidity of the animation can be monitored.

    On the first charge, there will be a slight stutter in the animation, but the rendered web page instantly appears when click the show page"" button.

    As you say, the stuttering occurs only the first time the page is loaded, then everything is smooth.  If you use a progress bar regular instead of an animation, the initial stuttering is probably fine, because people expect to see breaks in the progress bars from time to time (more progress reported by progress bars is not a smooth linear progression).  My guess is that if you use a regular progress bar, the behavior seen with this example is probably acceptable for almost all users.

    As for the differences between the rendering between 2.2 JavaFX and JavaFX 8, there was a lot of changes to the internal architecture of JavaFX for JavaFX 8 that have improved rendering performance, as well as probably represents the delta.

    import javafx.animation.*;
    import javafx.application.Application;
    import javafx.concurrent.Worker;
    import javafx.geometry.*;
    import javafx.scene.Scene;
    import javafx.scene.control.*;
    import javafx.scene.layout.*;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.web.WebView;
    import javafx.stage.Stage;
    import javafx.util.Duration;
    
    public class WebViewJavaFXTest extends Application {
        public static final String PAGE_URL = "http://todomvc.com/architecture-examples/angularjs/#/";
        private Rectangle distractor;
    
        @Override
        public void start(Stage stage) throws Exception {
            distractor = new Rectangle(20, 20, Color.CORAL);
            TranslateTransition r = new TranslateTransition(Duration.seconds(10), distractor);
            r.setFromX(0);
            r.setToX(800);
            r.setInterpolator(Interpolator.LINEAR);
            r.setCycleCount(RotateTransition.INDEFINITE);
            r.setAutoReverse(true);
            r.play();
    
            VBox layout = initView();
            stage.setScene(new Scene(layout));
            stage.show();
        }
    
        private VBox initView() {
            final ProgressBar progress = new ProgressBar();
            final Button showWebView = new Button("Show Page");
            showWebView.setDisable(true);
            HBox controls = new HBox(
                    10,
                    progress,
                    showWebView
            );
            controls.setAlignment(Pos.CENTER_LEFT);
            Button tryAgain = new Button("Try Again");
            tryAgain.setOnAction(actionEvent ->
                    tryAgain.getScene().setRoot(
                            initView()
                    )
            );
    
            StackPane webViewHolder = new StackPane();
            webViewHolder.setPrefSize(1024, 700);
    
            final WebView webView = new WebView();
            progress.progressProperty().bind(
                    webView.getEngine().getLoadWorker().progressProperty()
            );
            webView.setPrefSize(1024, 700);
            webView.getEngine().load(PAGE_URL);
            webView.getEngine().getLoadWorker().stateProperty().addListener(
                    (o, old, state) -> {
                        if (state == Worker.State.SUCCEEDED) {
                            webView.snapshot(
                                    snapshotResult -> {
                                        showWebView.setDisable(false);
                                        return null;
                                    },
                                    null,
                                    null
                            );
                        } else {
                            showWebView.setDisable(true);
                        }
                    }
            );
    
            showWebView.setOnAction(actionEvent -> {
                controls.getChildren().setAll(
                        tryAgain
                );
                webViewHolder.getChildren().setAll(webView);
            });
            VBox layout = new VBox(
                    10,
                    distractor,
                    controls,
                    webViewHolder
            );
            layout.setPadding(new Insets(10));
    
            return layout;
        }
    
        public static void main(String[] args) {
            launch();
        }
    
    }
    
  • Strange behavior with the paths of the image

    All, morning

    I have a strange behavior going on with my image paths and I was wondering if someone might be able to identify what they think happens?

    On the relative paths of my model (.. / Images/example.jpg) work very well.

    However, on the pages of the child the same relative paths do not display images and so I had to remove the '... /' to get to work (ending up with Images/example.jpg).

    This is obviously not desirable that I'm going to manually tweak the child pages where the content of the combo box was copied directly from the model that works very well.

    Any ideas what might be up?

    Thanks in advance

    You have not yet entered the main directive of models, which is that only changes to the unchangeable in the model regions will be applied to the child pages.  If this were not true, then we could never put unique content on a child page!

    So - the diagram is as follows:

    1 create a template and save it.

    2. the model of a page child spawn.  The child page will be a 'identical' model copy.

    3. Add a unique content to the page of the child.  The child page is now more a copy of 'identical' of the model.

    4 change something in the part NOT MODIFIABLE from the model and save it - all child pages receive the change.

    5 change something in the EDITABLE model part and save it - no child pages do not receive the change.

    6 spawn a NEW page of the model, and it's still a copy of 'identical' AGAIN CHANGED model.

    See how it works?

  • Strange behavior of the Animation

    Hello guys.

    I'm fading in the textArea 3 and 3 labels State 'default' to 'addRecommend' and fade out the text box and labels seeOther State to addREcommend. The defautl-> addRecommend works very well. However, addRecommend-> seeOther

    show "a text box" (which is not included in State seeOther) and kill my "add to database button" (which is in a State of seeOther).

    If I delete detailText and details of my transition melted, everything will work, but I need to have my detailText and fade out too much in detail. If I do not explain my question, please copy my code and paste it into your flex. I spent 5 hours to debug it but no luck. I have really really grateful if someone could help me.

    < fx:Script >

    <! [CDATA]

    protected function add_clickHandler(event:MouseEvent):void

    {

    currentState = "addRecommend";

    / / addRecommendMove.play ();

    }

    protected function seeOther_clickHandler(event:MouseEvent):void

    {

    currentState = "seeOther."

    }

    ]]>

    < / fx:Script >

    < s: states >

    < name s: State = "default" / >

    < s: State name = "addRecommend" / >

    < s: State name = "seeOther" / >

    < / s: states >

    < s:transitions >

    < s:Transition toState = "addRecommend" >

    < s:Sequence >

    < s:Parallel >

    < s:Move target = "{add}" / >

    < s:Resize target = "{add}" / >

    < s:Move target = "{seeOthers}" / >

    < / s:Parallel >

    < s:Parallel >

    < s:AddAction target = "{[yourname, username, recommendCityLabel, recommendCity, detailText, detail]}" / >

    <!-if delete detailText and detail, the transition fade will be fine... but I need them to fade our and bland in...-->

    < s: bland target = "{[yourname, username, recommendCityLabel, recommendCity, detailText, detail]}" / >

    <!-if delete detailText and detail, the transition fade will be fine... but I need them to fade our and bland in...-->

    < / s:Parallel >

    < / s:Sequence >

    < / s:Transition >

    < s:Transition toState = "seeOther" >

    < s:Sequence >

    < s:Parallel >

    < s: bland target = "{[yourname, username, recommendCityLabel, recommendCity, detailText, detail]}" / >

    <!-if delete detailText and detail, the transition fade will be fine... but I need them to fade our and bland in...-->

    < / s:Parallel >

    < s:Parallel >

    < s:Move target = "{add}" / >

    < s:Move target = "{seeOthers}" / >

    < / s:Parallel >

    < / s:Sequence >

    < / s:Transition >

    < / s:transitions >

    < s:Label color = "#000000".

    x="10"

    y="60"

    ID = "YourName".

    fontSize = "13".

    fontFamily = 'arial '.

    text = "Your name" includeIn = "addRecommend" / >

    < s:TextInput x = "10" y = "75" width = "50%" paddingLeft = "10" id = "userName" includeIn = "addRecommend" / >

    < s:Label color = "#000000".

    y="110"

    x="10"

    fontSize = "13".

    fontFamily = 'arial '.

    ID = "recommendCityLabel".

    text = "Recommended City" includeIn = "addRecommend" / >

    < s:TextInput x = "10" y = "125" id = "recommendCity" width = "85%" includeIn = "addRecommend" / >

    < s:Label color = "#000000" x = "10" y = "155".

    fontSize = "13".

    ID = "detailText" <!-if I add this label to my transition melted, the strange behavior->

    text = "you can add details!

    fontFamily = 'arial '.

    includeIn = "addRecommend" / >

    < s:TextArea = "180".

    x = "10".

    paddingLeft = "10".

    ID = "detail" <! - if I add this textArea for my transition melted, the strange behavior too - >

    Width = "90%" height = "160" includeIn = "addRecommend" / >

    < s:Button id = 'Add '.

    x="10"

    y="60"

    y.addRecommend = "350"

    width = "210".

    width.addRecommend = "150"

    height = "35".

    fontWeight = "bold".

    fontSize = "12".

    fontFamily = 'arial '.

    toolTip = "recommend your favorite places.

    label = "add your recommendation."

    label.addRecommend = "Add to database"

    Click = "add_clickHandler (Event)" "

    />

    < s:Button id = "seeOthers".

    y="105"

    x="10"

    y.addRecommend = "400"

    width = "220".

    height = "35".

    fontWeight = "bold".

    fontSize = "12".

    fontFamily = 'arial '.

    toolTip = "see recommendation of others.

    label = "see other recommendations.

    Click = "seeOther_clickHandler (event)" / >

    Hello

    I had a look at these, I think that the provision itself was a bit wonky, I enclose the code in a link like this forum tends to eat code that doesn't help when you're trying to look at the code.

    You have the basics of work, but to avoid confusion in the States and the code, I suggest you try to group your objects to display relevant to the effects of transition, it is easier to control and maintain.
    On a side note use you designview in the ide to see how States will look, this tool will be of great help while you learn, ignore anyone who tells you not to use designview, it is a page layout tool and works well for these types of tasks.
    David.
  • Strange behavior of the WHILE loop

    Dear experts LabVIEW

    I would ask you to give me an explanation of the behavior of the very simple VI as an attachment. This VI contains a WHILE loop with three parameters, input and STEP. The table of RESULTS shows the calculated values. Considering the input parameters OF = 0 TO = 1 LEVEL = 0.1, then the RESULTS table contains the values 0, 0.1, 0.2,..., 0.9, 1. Considering the input settings ON = 1, TO = 2, STEP = 0.1, then RESULT table contains values 1, 1.1, 1.2,..., 1.8, 1.9. The question is, why the number 2 is missing?  (I also tried to use different types of data, but without success). Thanks for your thoughts.

    Juraj

    Because you compare floating point numbers.

    For example, 0.1 cannot be represented in exactly in binary, cela repetitive additions probably will not end in an exact integer later.

    Since the three entries, you can calculate the number of values exactly and use a loop FOR. Do not use the convoluted code...

    Why not just use ramp model?

  • Strange behavior of the mouse after installing the updated driver

    Hello

    Windows Update suggested that I update the mouse and/or the keyboard driver detection. I don't remember the exact message.

    Also, I find no trace of this update in the box "Installed updates". It seems that the driver updates are not included.

    Symptom: Periodically, the screen scrolls upward around 3 lines, even through I'm even not touching the mouse. It's like the wheel was scrolled beyond a tick.

    This has never happened before this update of detection has been installed.

    Windows 64-bit Enterprise, USB Intellimouse Optical 1.1

    How can I find the update has been installed? How can I remove it?

    Thanks - ankle

    Hi MaskedAnkle,

    Thank you for using Microsoft Windows forum.

    If you want to see the updated story to update try the following steps to check the update has been installed for programs.

    1. open the control panel (all items view), and click the Windows Update icon. (See screenshot below)

    2. click on the link to view update history. (See screenshot below)

    3. to view the details of a single Windows Update-

    (A) select and right-click on a Windows Update list, and then click details. (See screenshot below step 4)

    (B) click on close when finished. (See screenshot below)

    4. to copy the details of an update of Windows unique to Clipboard-

    (A) select and right-click on a Windows Update list, and then click details.

    NOTE: It will be the same details in step 3, but in a text format instead.

    (B) you can now copy the contents of the Clipboard (ctrl + V) in a program such as Notepad or WordPad.

    If you think that the problem occurred after the installation of the update of the driver, you can restore the mouse driver and check if that helps.

    Steps to roll back a driver:

    #Open Control Panel Windows Device Manager.

    Manager #In of devices, look for the device that you want to restore the driver.

    #After find the material you are roll back the driver, right click on the name or the icon of the device and click Properties.

    #In the properties of the device window, click the driver tab.

    #On tab driver, click on the button return to the previous version.

    Note: If the button return to the previous version is disabled, Windows 7 doesn't have a previous driver to roll back to then you will not be able to complete this process.

    #Click the button Yes to the question "Are you sure you want to restore the driver previously installed software?".

    We now find the driver already installed. You should see the button return to the previous version is disabled when the roll back is finished.

    #Click the close button at the bottom of the screen of the device properties.

    #Click Yes in the system settings change dialog box that says: "your hardware settings have changed. You must restart your computer for these changes to take effect. You want to restart your computer now? »

    If this message is hidden, the close window command panel might help. You will not be able to close the Device Manager.

    Note:
    you are according to the device driver roll back, it is possible that you will not need to restart your PC. If you
    do not see the message, consider the complete rear roller.

    #Your computer will now restart automatically.

    When Windows 7 starts up again, it will load with the device driver of this material that you had previously installed

    You can also try the system restore if the problem persists,
    See: http://support.microsoft.com/kb/936212/

    Hope this has helped

    Kind regards
    Aziz Nadeem - Microsoft Support

Maybe you are looking for