Cascading Menus strangeness

I met some strangeness with cascading menus which is neither intuitive nor documented.  I use cascading menus to help the user to complete and modify a table containing a limited set of choices.  The intention is that many of the level 1 menu choices will show a list for the user to choose from.  Pop-up lists are intended to be very similar and potentially could be the same, but to do with the choice of level 2 must be different.  The choice of level 1 are: Add, insert, edit, delete, move Up and move down with the first three cascading to the secondary lists. The problem I encountered is that when level 2 lists are identical, or almost, the ItemPath is not indicative of the user's selection.  It seems that the ItemPath uses by default the first item in menu level 1 and level 2 user selection.  If the ScreenTip says are different dractically, behaves in the ItemPath are expected.  Someone has had experience in this area - confirming or contradictory?  This part of a ploy to help improve my coding style :-)? I use XP with LV2009.  Thanks in advance

--

RunningDog

-LV rtm Analyzer assumes that all tags are unique.  What you see is the result of a linear search in a list with the recurring elements: Menu selection (user) takes the ItemTag and search in the list of the RTM for the first instance of this tag from top to bottom.  Insert one of your objects of level 2 on the top tier before everything and see what happens.

-This function Help file says 'the function always sure that labels of all inserted menu items are.
unique to the hierarchy of the menus by adding numbers to the supplied tags, if
necessary. "It seems that it does occur if you create the menu dynamically, as you do.  I think that's what John Mc to come; its code would remove the numbers in the annex for the tags would be the same (to your parser). Maybe he uses 2010 and it works in this version?

-If you were to do a right-click on the control, go to advanced-> run-time - menu-> edit..., you get a dialog box that allows you to create a custom RTM.  If I try to recreate your RTM in this dialog box, when I go to save it updates the tags duplicate with the numbers in the annex.

-Your best solution is to make sure your objects have names AND labels, where the names can be repeated and labels must be unique.

Tags: NI Software

Similar Questions

  • Cascading menu problem

    I'm doing some testing with cascading menus. The original provision, named "sidenav" has the general appearance, I want in what concerns the spacing & margin. Then I made another using code borrowed, labeled mainmenu. It is the action that I want to but I can't find where to control the margin and border of the li for the separation of sidenav. I can't find the classes "ul_ch" and "li_nc". Maybe they are created through javascript? Or otherwise buried in this borrowed code.

    http://www.aptcoweb.com/dev/aptcoFluid/index2.htm

    larrycfc wrote:

    Interesting. Bottom margins on li now on the primary but not displayed on the elements menu SUP, but only in mode live view DW. I don't see them in IE, Safari, Chrome, Opera, FF.

    If you want that margins on the submenus you apply css in the css of submenu (comment out the basic information on the AMT and add, as well as the margin-bottom: 10px; for the li) as shown below:

    . MainMenu li ul {}

    position: absolute;

    left:-999em;

    height: auto;

    Width: 20em;

    / * background: #0d2b88; */

    make-weight: normal;

    border width: 2px;

    }

    . MainMenu li li {}

    Width: 100%;

    background: #0d2b88;

    margin-bottom: 10px;

    }

  • Language office (and all menus) are all in strange symbols, even if the language selected is English

    I have a Vista Home Premium computer laptop (Toshiba Satellite) which shows strange lines and brands for all of the words on the desktop and menus. I guess it could be a different language, although it looks more like mutilated. I managed to check the regional/language settings (was not easy) and English is selected. Anyone know what is happening and how to fix this without reloading the operating system?

    Hello toryander,.

    Thanks for posting on the Microsoft answers Community Forum.

    When the problem started happening with the display of strange symbols and marks in your Vista Home Premium?
    What has changed in your environment? Did you install a new program or install an update from Windows?

    Have you tried running Safe Mode to see if it'll happen here?

    If you know when the problem started, you can check and see if you have the system restore back to an earlier point in time. Note: System Restore does not save or delete your personal documents. This means that a document created and saved today is not deleted if you use the system restore. Only some system files and settings are changed when you perform a system restore.

    Click the URL below to review the steps on the system restore.
    936212 KB - how to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista
    http://support.Microsoft.com/kb/936212 use system restore to undo changes
    To be sure, save the files before you restore to an earlier point. To restore your system to a previous restore point:

    1. Click Start
    2. Point to all programs
    3. Point to Accessories
    4. Point to System Tools
    5. Click on the system restore and click on the Next button
    6. Select "choose a different restore point" and click the Next button
    7. Select the time of the desired date and restore point description.
    8. Click the Next button.
    9. Click Next to start the restore process.
    10. Click Yes in the confirmation message box that appears.

    The computer shut down and on again automatically once the recovery is complete.

    Please try the suggestions and reply back with the results and let us know if you need help or if this solves your problem.

    Sincerely,

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

  • Thunderbird has suddenly become strange; for example, no tabs or enable menus as "Tools"; someone at - it help him?

    Today when I opened TB I'm greeted by the Home tab (which usually, I see only after an upgrade) and I can't get in my Inbox by right-clicking on "Inbox" in the left pane and open it in a new tab, I click on see (because the Home tab remains visible until I do that). Menus 'File', 'Tools' etc. open their fall to the bottom, but elements do not work, even if they are not actually grayed out. Immediate functions such as 'Write' Nothing doing. Real emails open as usual, but if I click another folder in the left pane (as opposed to right click and open in a new tab), nothing seems to be happening as I said earlier, but if I move the cursor over the tab apparently unchanged show emails, the messages disappear under the cursor - probably because they are not in the newly selected folder. I find that windows will not uninstall TB in order for me to re - install. I find that the case of uninstall in TB has no program uninstaller inside. I deleted all the files in the Thunderbird folder (even if windows will not let me delete the folder itself) and re-installed TB from Mozilla manually, but it has exactly the same thing. That's happened? Thank you.

    OK, just to say goodbye. now realize that "safe mode" offers the possibility to make Add-ons more permanent "remove". Now everything is back to how it was before the start of mayhem. Either by the way, this may have had something to do with an update of Mozilla which have integrated a calendar with TB facility, although it creates no problems immediately.

  • strange behavior in the SQL with Cascaded NOT operators

    Hi yall!

    Quick Tour: I don't use real tables/columns, but simplified versions. And I know that some statements could be turned into a version more simple, but also done these request structures are generated automatically and so I have to work the way they are.

    Given a table "MyTable" like this:
    ID MyName
    -- ------
    0 AF
    1 AF
    2 null
    3 AL

    The following instructions are tested:
    SELECT id FROM myTable MyName WHERE NOT AS "AF".
    -> Result: 2.3 (as expected)
    SELECT id FROM myTable WHERE NO (NO MyName AS 'AF')
    -> Result: 0.1 (as expected)
    SELECT id FROM myTable WHERE MyName IS NULL or myName = "
    -> Result: 2 (as expected)
    SELECT id FROM myTable WHERE NOT (myName IS NULL or myName = ")
    -> Result: 0,1,3 (as expected)
    SELECT id FROM myTable WHERE (myName IS NULL or myName = ") GOLD MyName AS"AF ".
    -> Result: 2.3 (as expected)
    SELECT id FROM myTable WHERE NOT ((myName EST NULL ou myName = '') OR MyName AS 'AF')
    -> Result: empty (expected: 0, 1).

    Why on earth isn't the last statement to return any result?

    0 AF
    1 AF
    2 null
    3 AL

    SELECT id FROM myTable WHERE NOT ((myName EST NULL ou myName = '') OR MyName AS 'AF')
    -> Result: empty (expected: 0, 1).

    the result is as expected:
    (myName IS NULL or myName = ") ===>> you will give output... AF, AF and AL
    Output of GOLD MyName AS 'AF' ===>> you give: AF

    If you do IT for all of them, it will be obivioulsy give you vacuum.

  • Address, the tabs and the bizarre menus air bars in Windows 8

    After the upgrade to Windows 8 (clean install, actually), I noticed that Firefox now looks weird. Tabs, menus, address bar, buttons often flicker, change colors, have weird contours and so on, when I move the mouse above or around them. I can't take a screenshot, because there is no hardware button on my laptop, and when I try to use an external software, such as OneNote screen clip, it changes back to normal. Just take my word for it, it seems very strange. Different colors and other things. I guess that if you have never experienced a problem like this, you'll understand.

    He also sometimes, although rarely, can control the elements on the websites, in particular these flashy buttons that change color to the overview.

    Try disabling hardware acceleration in Firefox.

  • Why are the menus in sites Web starts to "shake" the opening?

    I am under Firefox 3.6.3 on Mac OS 10.6 and encounter the following problem: drop-down menus in websites (e.g. a right under this field) strange behavior. Whenever I click on the arrow to open the drop-down menu options, drop-down list with options area starts shaking like crazy, making it hardly possible to select the desired option.

    This has happened

    Each time Firefox opened

    Is since I installed Firefox

    Morbus thanks!

    I've disabled all my addons and them lit again one by one and found that the error was caused by the addon "Delicious Bookmarks 2.1.072!

    My problem was solved!

    Thanks again!

  • by clicking on the apple logo, menus and check boxes do not work on the first click

    Strange behavior from El Capitan OS X 10.11.1.

    When I click on the Apple Logo, menus, and check boxes, the action does not stick.

    To open the Apple Logo, the menu appears quickly but then folds upwards, as if I had not clicked.  Pretty well, click on the third, the menu opens.

    In the Finder, when I click on a menu like file, edit, or display, the menu appears, and then restores upward. Again, after three clicks in opens.

    In Safari, on a page Web, clicking on a checkbox does not stick. I need to click three times.  I when in Safari settings to clear the cache, I also checked the box to request the site "don't follow me." And even in the actual application of Safari, the box wouldn't fit.  I clicked it three times before the box stuck.

    Installation program:

    iMac 24 - early 2008

    4 GB

    El Capitan 10.11.1

    I changed the mouse, and this has solved the problem.

  • Strange behavior of GUI

    Hi all

    I'm a software developer in a neurosurgical research, and we are looking in a good software package to perform analyses on our biomedical data (16 channels of continuous data for 14 days at 200 Hz)... (btw: Labview is the way forward?)

    Therefore, I try to evaluate the latest version of Labview 2012 64-bit, but I'm having a strange problem. After a few seconds to play with the GUI (adding items to the VI,) or just resizing of windows, he answers correctly. It does not show the menus more (they appear for a fraction of a second, then disappear). I have to close the graphical user interface in the Task Manager... It also occurs in the window Gettings started...
    I installed the latest patch of f3, but it solves nothing.

    Here are my details:

    LabVIEW 2012 (allocated memory: 57629K, TCP idle server, Version 12.0f3 (64 bit))

    Windows 7 Pro SP1 64 bit

    CPU: Intel Core i7-3630QM

    RAM: 20 GB

    GPU: NVIDIA Quadro K1000M 4 GB with latest drivers NVIDIA

    I'm only using LV on a fairly normal installation of windows 7. Reboot does not change, nor a restore/update of GPU drivers doesn't change anything...

    In the meantime, I could save a simple vi, with only a few items and I open it as well, but I can't work with it for more than a minute...

    UPDATE: everything by typing this message, I tried to disable certain things, and at the moment, it seems to be resolved by disabling NVIDIA nView Desktop Manager (v 136.53), which I use for my setup dual monitor... I'll keep you updated if this really solves the problem...

    RESOLVED: I now use LV over 20 minutes with no problems... now I'll see if it can meet my needs...

  • strange question Application: instance()

    Hi all

    I have this strange problem if the following code is executed as a slot:

    void myapp::SomeSlot(QString result){        1. Label * pChild;
        2. pChild = bb::cascades::Application::instance()->findChild("testDialogLabelUser");
        3. pChild->setText(result);}
    

    It works very well. But if I have another static member function invoke the above code, on the 2 nd line, pChild is 0 - and this is why the code does not work. This may be the cause of ideas? PS This is the static function:

    void myapp::Wrapper_To_Call_Display(void* pt2Object, QString text)
    {
    
        myapp* self = (myapp*) pt2Object;
    
          // call member
        self->SomeSlot(text);
    }
    

    Solved.

    Apparently, the problem was that until the signal has been issued, I was showing the QML file that contained the testDialogLabelUser Label, this was however not the case more withth the static function...

  • Cascades does not take sides property links in all components

    I believe that many elements found in the Cascades are poorly designed because they do not take sides QML property bindings. The worst example is the ActivityIndicator component that is not a race (or something similar named) property.

    Let me show you an example, I'll start with a snippet of code that does not have the property running:

    {ActivityIndicator}

    ID: indicator

    }

    WebView {}

    onLoadingChanged: {}

    If (loading)

    Indicator.Start)

    } else {}

    Indicator.Stop)

    }

    }

    }

    It is not declarative, it's imperative code. Now, let's take a look at the following example which shows how it would look like if the ActivityIndicator have had an ongoing execution property:

    {ActivityIndicator}

    running: webView.loading

    }

    WebView {}

    ID: webView

    }

    Much cleaner, easier to read and completely declarative. You also get the dependencies between the components on the right. In the first example, the Web mode has a dependency to the ActivityIndicator which is completely false. In the last example, you see that this time, the ActivityIndicator has the addiction to the Web mode, which is OK because the ActivityIndicator has a dependency for Web display and not vice versa.

    To make things even worse with ActivityIndicator-case, is that there is a function called isRunning which returns Boolean If the indicator is running or not. Why is it good?

    There are a couple of other components that have similarities with the ActivityIndicator, such as the cursor and TextField. Would be my pleasure to clarify if you are interested.

    Yes, we certainly do.

    With the cursor, there are 2 valueChanged and valueChanging, events which provide 2 different functionality, so should not in this case for valueChanged to send a signal until after the slider has ceased to be changed because the value itself is not changed until the cursor was placed, valueChanging provides instant feedback. Introducing the necessary logic to see if the user has lifted a finger, left the area of cursor or otherwise ceased to move the cursor would certainly complicate the case.

    The next point you have raised is very valid, but with the method used by Cascades, as described above, the value of the slider is defined not until after the cursor is moved and stopped. I suggest you connecting everything you see as strange behavior or unexpected in the Issue Tracker as a bug. We can step up to the development of review, this will allow developers also know that the behavior used by Cascades is not always what is expected, or exactly in line with QtQuick QML.

    Kind regards

  • My questions on the Cascades (or feature requests)

    Hello

    I started to work (or play) with waterfalls.

    So, how do you move the application menu on the left or right? or over the top? (it is always on the bottom)

    How to change the default color / background of the menu (I want a menu transparent)

    How to design a menu "swipedown" (as the native BlackBerry browser)?

    How to customize a components by default (without creating a new component from scratch)?

    Nicolas

    Will try and answer your questions.

    The Menu of the Application should always be at the top of the screen and it should contain less frequently used options.

    http://docs.BlackBerry.com/en/developers/deliverables/41577/menus.jsp

    Swipedown signal connects as explained on this thread.

    http://docs.BlackBerry.com/en/developers/deliverables/41577/menus.jsp

    You should be able to use the default controls as basis for your custom control - the process is detailed here.

    https://developer.BlackBerry.com/Cascades/documentation/UI/custom_components/

  • Add "bb/cascades" to include the path

    Hello.

    I'd like to be able to write as

    #include 
    

    Instead of

    #include 
    

    includes analogous to the QT interval.

    I can't seem to get this to work despite several attempts, including mounting INCLUDEPATH in my pro account

    Project-Properties-C ++ General-paths and symbols-Gnu C (theres no C++ strangely!).

    Someone knows how to make it work?

    Thanks in advance

    Hello

    Base in SDK path is QNX_DIR. Add this line to the .pro file:

    INCLUDEPATH += $${QNX_DIR}/usr/include/bb $${QNX_DIR}/usr/include/bb/cascades
    

    But I do not recommend this. You can use namespaces corresponding anyway and it is easier to deduct them from full path names. It also increases the risk of name clashes.

  • The application menus

    Talks on next page on the menu "Application":

    http://docs.BlackBerry.com/en/developers/deliverables/41577/menus.jsp

    http://docs.BlackBerry.com/en/developers/deliverables/41577/application_menus.jsp

    But the learning for the menus page does not seem to forget the application menu, or how to add to your application:

    https://developer.BlackBerry.com/Cascades/documentation/UI/navigation/menus.html

    So the question is: how a menu that is added to an application?

    Menus of applications are infrequent actions and can be hung in swipeDown signal - check the documentation of signal swipeDown for more details.

    https://developer.BlackBerry.com/Cascades/reference/bb__application.html#swipedown

  • Native? Or Cascades?

    Hello

    I am porting my apps playbook on to bb10.

    They were built in the AIR, but I want to add some new arrivals whose AIR is just too slow for. I had the intention to rebuild native, but im confused, what is the difference between the native approach and the cascades.

    Which should I use?

    Okay, to be clear - Cascades * is * native. You just start using elements of graphical interface provided by waterfalls (add a few new libraries) and changes the structure of your app (using different event-handling logic etc.). But all that is available for native is available for app stunts. You don't need stunts if your app for example uses its own photos/text rendering, menus, buttons etc in place Let's say using OpenGL.

    You can probably define "Native" in your own words? What thing confuses you here?

Maybe you are looking for