Best way to track a navigation status?

I have build navigation systems in the past that had several
layers of
submenues. These would for example be structured like the
following,
where you would have button a 1, 2 and 3(1st level), button 2
has a
subbutton that we will call 2.1 and 2.2(2nd level), which
then have
subbuttons that would be called 2.2.1 and 2.2.2(3rd level),
etc.
In the past I would have each button set variables and then I
would
check for those with ifStatements and nested ifStatments,
which would
result in pretty complicated code structures.
I am wondering now if there is a better way(I almost assume
so) to do
this. Seems a lot more complicated then needed? How is this
done correctly?
Thanks for any commments on this!

Hi Luigi,
what I mean is how to keep track of what part of the menu is
open. For
example, what section are you at the moment, what subsection
menu is
open from that section and so forth. I want the sub menus to
open upon
clicking on the menu. Then there might be sub menues of the
submenus...
For example like this. I have the following buttons.
1
2
3
Level 2: submenu for button 1:
1.1
1.2
1.3
Level 2: submenu for button 2:
2.1
2.2
2.3
Level3: Then I could even have a sub os a sub like this:
2.1.1
2.1.2
2.1.3
Does that make sense?
Thanks for the help!
B

Similar Messages

  • Best way to track changes

    I have a table that has some project info in it. what is the best way to track when changes are made ?
    Here is an example.
    create table testing1 (
    projectid varchar2(50),
    value1 varchar2(50),
    value_date date
    insert into testing1 (projectid,value1)values ('1a2a3','12345');
    insert into testing1 (projectid,value1)values ('1a2a4','12645');
    insert into testing1 (projectid,value1)values ('1a2a5','17345');
    --select * from testing1every day this table is dropped and recreated via a stored procedure I have running.
    I would like to create a new table and procedure that does the below.
    If there is a change in value1 i would like a new insert to be done with the projectid, the new value1, and the sysdate in the date column. if there is no change, there is no insert.
    any help is appreciated.
    im not looking for someone to write everything for me (although that would be amazing), just looking for some ideas on the best way to do it.thanks again.

    Jay wrote:
    I have a table that has some project info in it. what is the best way to track when changes are made ?
    Here is an example.
    create table testing1 (
    projectid varchar2(50),
    value1 varchar2(50),
    value_date date
    insert into testing1 (projectid,value1)values ('1a2a3','12345');
    insert into testing1 (projectid,value1)values ('1a2a4','12645');
    insert into testing1 (projectid,value1)values ('1a2a5','17345');
    --select * from testing1every day this table is dropped and recreated via a stored procedure I have running.
    I would like to create a new table and procedure that does the below.
    If there is a change in value1 post SQL & results that properly identify when above is true.
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • What is the best way to track a stolen ipod touch 4th generation if the locations services are off

    What is the best way to tracker a stolen ipod touch 4th generation it the locations services are off

    you will have to use the old fashioned way, like if you lost a wallet or purse.

  • Best way to track multiple data elements by month

    I manage a sharepoint site and want to set up a way to allow representatives from our many offices to log in and track multiple types of information every month. Specifically they need to log in once every month to log in a statisitic on 1) office water
    consumption, 2) amount of recycling processed, 3) electricity used, etc. Any suggestions for the best way to track this in Sharepoint without having to create a new list or survey every month? Thanks!

    Hi,     
    According to your description, you want the representatives from different offices can track down many types of data monthly.
    Here is a solution for your reference:
    Create different types of columns in a list. By default, we can create such as Text, Number, Choice, Metadata fields in a list. According to your requirement, you can use Metadata
    field for selecting offices, use Number field for water, electricity consumption, use Date and Time field for recoding month.
    You can also modify the current view to sort the items for a comfortable display.
    Here is a screenshot of a demo for your reference:
    Feel free to reply if there are still any questions.
    Best regards
    Patrick Liang
    TechNet Community Support

  • HT5361 Best way to track history of version releases for Apple Mail.app?

    Best way to track history of version releases for Apple Mail.app?
    A great many of the traditional OSX installtion history items are no longer available in 10.8  One can no longer consult the installation history of the "Software Update" preference pane, because that functionality has moved to the Mac App Store utility.  The Systems Information Utility does indeed show *some* installation history, but it does NOT include the Mail.app, for some reason.  Fianlly, I can't find a web posting where apple at least provides the list of all recent software updates for mail.
    Any suggestions?
    Thanks!

    UPDATE:
    I have partially answered my own question. I found that if go to the History window for the selected file, then double-click the "version" (indicated by the label, which is actually displayed in the "comment" field), it opens the file in html. But, there is a "save as" button in this preview window. If I save the file to a temporary location and optionally, give it a different file name (e.g., to indicate the rev #), I can then go to Windows Explorer, double-click the file, which then launches in a browser window and displays the formatted web file. So this will definately suit my purposes from a audit perspective.
    However, I still would like to understand how the tags, branches, and pinning works because that might be a better way?
    -Kristen

  • What is the best way to get an update/status on my MBP repair?

    Apple store in Nashville had to send one of my machines to their repair depot in Tennessee due to the lid failing to open/close/latch properly. Any suggestions on the best way to get an update on the status of the repair (besides parking on hold with the store)? I was told it would take 4-5 business days and we are past that by two days now...
    TIA --
    Trent

    http://www.apple.com/support/repairstatus doesn't show QuickDrops (reference numbers start with the letter 'Q') - the store had to use this because Apple's back office systems were "down' when I dropped the machine off. Thanks for the input....

  • What is the best way to track a characteristic  from R3 to a BEx report?

    Hi,
    What is the most convinient way to track these 2 characteristics in my enivornment:
    Data flows from R3 to InfoSource1, InfoSource2, InfoSource3 and InfoSource4.
    InfoSource1 and InfoSource2.flows to ODS1
    and
    InfoSource3 and InfoSource4. flows to ODS2
    then ODS1 and ODS1 flows to Cube1 which then goes ro MultiProvider1
    "Created On" characteristics came in from InfoSource1
    and
    "Change On" characteristics came in from InfoSource2
    Now when you go into BEx, these two are not shown in the dimension nor the report structure, but there are other Time characteristics such as Calendar Day, Calendar Month, Calendar Week.
    What are the definitive steps can I take to track down the "Change on" anbd "Created on" down to my report in BEx?
    Thanks

    hi Amanda,
    ..how do I track down to a document to see what is actually being entered in the Sales Order document on R3.?
    - normally for this, we need to understand the definition of that field sales order document in r/3, if the description just the same as in sales order screen (VA03),
    to verify the field we can press F1 on that field, and 'technical information', check 'Field Name'.
    we can only mapped one field to one infoobject, you can create another date characteristic or use business content delivered,
    if you are using business content e.g sales and install everything from business content, the mapping should be taken care by system.
    hope this helps.

  • Best way to use `checkupdates' for status line

    Hey there,
    I want to have the number of packages for which there exist updates to be indicated in the status bar of dwm. (At the moment I create my status bar via a shell script, not via a C program. Most importantly the script displays at the moment the number of new emails and the date/time.)
    This was my first attempt (other functions and custom colors stripped):
    #!/bin/bash
    pkg(){
    nbr="$(checkupdates | wc -l)"
    echo -en "$nbr"
    xsetroot -name "... $(pkg) | $(date "+%d. %b %H:%M")"
    After the script has been executed it will be launched again after a sleep of two seconds. Now I wonder if it is considered good practice to execute `checkupdates' every few seconds. I guess it is not. What could be the downsides? Problems when invoking pacman in order to update?
    The other way I thought of was to check for updates only every hour via cron and redirecting the number of package updates into a temporary file and reading that file in the status script. But this has a major downside: After updating with pacman, the number of packages to be updated doesn't change until next invocation of the cronjob...
    How would you handle such a notification?
    Edit: Sorry wrong forum. Please move the topic. :-(
    Last edited by ball (2013-08-08 17:48:55)

    #!/bin/bash
    let loops=0
    while true; do
    [[ $(($loops % 150)) -eq 0 ]] && pkg=$(checkupdates | wc -l)
    [[ $(($loops % 30)) -eq 0 ]] && email=...
    xsetroot -name "$pkg | $email"
    loops++
    sleep 2
    done
    This will run checkupdates every 150 times through the loop (every 5 minutes) and do the mail check every 30 (every minute), but print out the latest result from each every time through the loop.  Obviously, the mail part has to be filled in with whatever you use.  This is just to show how to only update at certain intervals rather than wasting processing on something that may not be that dynamic.
    EDIT: for regular use I suppose their should be a check on "loops" to avoid overflow.  At the last line of the loop, for example, add
    [[ $loops -eq 4500 ]] && let loops=0
    Last edited by Trilby (2013-08-08 18:24:58)

  • [CS3] Whats the best way to track model changes? Document Observer? Selection Observer?

    Hello,<br /><br />Usecase I am working on needs to track following events:<br />1. A page item was created/deleted/resized/moved/etc..<br />2. A text was inserted/deleted<br />3. A page was created/deleted<br /><br />Since the list is quite broad I am wondering if there are known best practices to follow. <br /><br />I have tried attaching to Command manager via Document Observer:<br /><br />  InterfacePtr<IDocument> iDocument(this, UseDefaultIID());<br />  InterfacePtr<ISubject> iSubject(iDocument, UseDefaultIID());<br />  iSubject->AttachObserver(ISubject::kRegularAttachment,this, IID_ICOMMANDMGR, IID_IMYDOCOBSERVER);<br /><br />Then during "update" call:<br /><br />  if (protocol != IID_IHIERARCHY_DOCUMENT) break;<br /><br />  ICommand* iCommand = (ICommand*)changedBy;<br />  if (iCommand->GetCommandState() != ICommand::kDone) break;<br /><br />  const UIDList itemList = iCommand->GetItemListReference();<br />  if (itemList == nil || itemList.IsEmpty()) break;<br /><br />  ClassID commandClassID = ::GetClass(iCommand);<br />  if(commandClassID.Get() == kAddToHierarchyCmdBoss || kPlacePICmdBoss) {<br />      // do something at new item creation<br />  }<br /><br />Problem is "kAddToHierarchyCmdBoss" is not just the one command that is sent while creating a new item. There are dozen others and hence I am not sure if I am watching the right one.<br /><br />Second I tried implementing a selection observer and hope to use HandleSelectionAttibuteChanged. A quick search didnt resulted in any suite that lets me implement my use cases.<br /><br />I was inclined towards command observer because thats at low enough level (and right above database layer) allowing me to trap all model changes.<br /><br />I am not looking for a specific answer/code but more of a guideline how to approach the problem.<br /><br />Suggestions? Comments? Thanks in advance

    There is no silver bullet, and while the command mgr can be useful to find out what's going on in general, it is definitely not the place for own dispatching. You'll have to revisit every command before and after execution, and plenty obscure sub-commands nested within larger sequences. If you handle them all this will seriously degrade performance. One good use of command manager notifications is to yield and inspect the matching commands for UI activities, from within your debug build.
    In your quoted update(), when you check the protocol you're anyway already discarding the command mgr notifications, because the protocol then would be IID_ICOMMANDMGR. Probably you already have attached a bunch of other protocols?
    Comparing to previous versions, the changes listed in 1) are pretty simple, you just subscribe at the document boss, and listen for the protocols IID_IHIERARCHY_DOCUMENT, IID_ITRANSFORM_DOCUMENT, eventually IID_IGEOMETRY_DOCUMENT, IID_IPATHGEOMETRY_DOCUMENT, IID_IINVALSHAPE. These also have an advantage that you get a meaningful theChange (rather than the command mgr's kBeforeDoMessageBoss and alike) and can dispatch on those.
    If you have a previous version of InDesign, there used to be a wildcard protocol IID_IPMUNKNOWN that would yield any notifications on the subject so you could dump them out and search for details. Apparently for performance reasons this was removed with CS3 after some plugins used it for release code, IMO Adobe should just have limited the feature to the debug build.
    Besides to observers, the service registry is full of other notifications, have a look the the cross reference in sdkdocs/html/classISignalMgr.html for the most prominent ones. One exception here, 2) For text edits, you won't even use observers or signals but kEditCmdPreProcessService / IID_ITEXTEDITPREPROCESS service instead, or its sister IID_ITEXTEDITPOSTPROCESS.
    3) Probably you'll again observe the kDocBoss for IID_ISPREADLIST and IID_IMASTERSPREADLIST.
    Regarding selection observers and suites, we're talking model changes here so please just forget about them in this place. Selection observers are used to follow the selection from within UI widgets, such as a palette or control strip.
    Regards,
    Dirk

  • What is the best approach to track deleted records

    Dear all,
    We have build a CMS platform which is based on SQL server 2012 tables structure hosted in Azure.
    We have build on top of this some REST API method in order to access data from any type of client application.
    The issues we need to solved now is what his the best way to track deleted records in order that client application gets informed through web service about deleted data from our CMS.
    We were thinking of 2 path actually :
    - having a kind of Ghost table for each of our real table where deleted records will be inserted into ( physical delete ). This would mean adding as many Ghost tables as we have production tables
    - Adding a IsDeleted flag to each of our table which will be set to true when a record is deleted from our CMS ( logical delete ). This would means adding an IsDelete field to each of our tables, create and update all our store procedure and web services
    in order to taken in account that new filter criteria to fetch our records. Quite huge job
    Will there be any other approach ?
    We are looking the best solution with minimum impact on our current solution
    reagards
    Your knowledge is enhanced by that of others.

    Hello,
    @Tom, based on your question
    "The question would be what do you need to do with the deleted records and how long do you need to keep them?"
    When records is deleted, then I simply want to delete them and informed any client application about deleted items in order to get data in Sync. I will not have any reporting on deleted data !
    The only reason of tracking delete tables items, is simply to informed client application through web service sync about the data to be ignored. Client application have a caching database records for performance reason and is is require to not used data
    from that local storage which has been reported as deleted by the SQL server on Aure.
    Does this make sense ?
    regards
    Your knowledge is enhanced by that of others.

  • What is the best way to remove applications?

    I would like to remove unused applications (iChat, Dashboard, iCalendar and so on...)
    I am running audio software and using CPU quite heavily.
    What wold be the best way to remove these types of applications completely and have as minimal running in the background possible??? (I have already turned off Bluetooth, Airport etc...)
    Should I install removal software or just send them all to the Trash bin?

    None of those applications are running unless you launch them. Dashboard widgets only use CPU time and RAM if they are running. If you quit all widgets in the Dashboard then there's no memory footprint or use of the CPU.
    If you don't want anything but essentials running then don't launch any applications and remove any Login Items from Accounts preferences.
    Just because an application is installed on the computer does not mean it is running unless you launch it or configure it to launch automatically. So there is no need to remove any of these applications or utilities.
    You will find some good books on Macs and computers in general at your local bookstore. Your question suggests that you could benefit by reading a few.
    As for how to uninstall applications that you have installed see the following:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash. Applications may create preference files that are stored in the /Home/Library/Preferences/ folder. Although they do nothing once you delete the associated application, they do take up some disk space. If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application. In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder. You can also check there to see if the application has created a folder. You can also delete the folder that's in the Applications Support folder. Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item. Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder. Log In Items are set in the Accounts preferences. Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab. Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term. Unfortunately Spotlight will not look in certain folders by default. You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead. Download Easy Find at VersionTracker or MacUpdate.
    Some applications install a receipt in the /Library/Receipts/ folder. Usually with the same name as the program or the developer. The item generally has a ".pkg" extension. Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are also several shareware utilities that can uninstall applications:
    AppZapper
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at VersionTracker or MacUpdate.
    For more information visit The XLab FAQs and read the FAQ on removing software.

  • Is KeyChain the best way to secure all passwords?

    I have a list of passwords and logins for various websites.  Is KeyChain the best way to track them and to login to the sites securely?

    Yes, it remembers passwords in probably 95% of cases (there are some problem sites that can "trick" it). It does also work with iOS devices as well. Note it only works in Safari on OS X and iOS. You can't use it in other browsers, or in other applications on iOS.
    I've been using it for years (before it was iCloud keychain, there was MobileMe keychain sync in Snow Leopard) and it has worked well for me.
    There are paid alternatives, like 1Password, which are also very good but if you use Safari I don't think there's a need to spend money.

  • Best way to unistall programs

    My mac is getting pretty bogged down and I would like to unistall some programs I rarely use. What is the best way and also, I have OS9 on here and don't use it. Is there a way to get it off the computer to make more room. I do graphic design so I have alot of big programs on here and need to make as much room as possible. Thanks

    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash. Most applications create preference files which are stored in the /Home/Library/Preferences/ folder. Although they do nothing once you delete the associated application, they do take up some disk space. If you want you can located them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application. In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder. You can also check there to see if the application has created a folder. You can also delete the folder that's in the Applications Support folder. Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item. Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder. Log In Items are set in the Accounts preferences. Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab. Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.
    There are also several shareware utilities that can uninstall applications:
    AppZapper
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at www.versiontracker.com or www.mackupdate.com.
    For more information visit The XLab FAQs and read the FAQ on removing software.

  • Best Way to Export Single Tracks in Audition

    Hello,
    What is the best way to export one single track (stereo or 5.1) from a multiple track mix in the Multitrack Editor if I want to make it mono? Is it by just muting the tracks I don´t want in the final mixdown and then selecting a mono Master in the Mixdown Options box?
    What about exporting only a few of the tracks from a multiple track mix to one mono file? Same process?
    Thanks!

    "Export all Tracks as Audio Files" found under File>Export.
    This will render audio files of your software instruments that start at bar 1, beat 1, and can be dragged right into Pro Tools. The export happens "pre-fader", so it is bounced at unity gain, and excludes any automation.
    If there is automation that needs to be included (like a filter sweep or something like that), you'll need to solo the track, and bounce it, because a bounced file does include automation.
    Also, if you're using a multi-channel instrument, you'll need to bounce those tracks separately as well.

  • I have two videos and I would like to use parts of both videos with one audio track what is the best way to edit this?, I have two videos and I would like to use parts of both videos with one audio track what is the best way to edit this?

    In Final Cut Express I have two videos I'd like to merge parts of each video into a final film.  What is the best way to do this in FCE?

    Hi
    I use a slightly different way than Alchroma.
    Same
    • One video on track 1 and the other on Video.track 2
    • Resize to 25% and move one to the left and the other to the right
    Diff
    • I don't use the blade tool
    • I use the Pen tool and change the transparency - then I get fast or slow transitions in same stroke and easy to fine-tune later if needed. (But this can be done with the Roll-tool if Blade is used - so it might be as easy)
    Final
    • Resize to 100% and Center
    Video is done
    Audio - very close to this by changing the level so that best audio will dominate
    • Pen tool here too
    But that's me - the Alchroma way is as good as this or may be better for some
    Yours Bengt W

Maybe you are looking for

  • Web cam vista problem

    hello all i'd just bought that webcam vista few days ago and i set it up but every time i try to use it i find that it's display picture is like negative picture? i downloaded the latest driver version from creative site and i change o s as a whole a

  • Working with XWindows

    Hi all, I'm working on an application where I need to spin off new processes using Runtime.exec, BUT I need to be able to hijack those processes to control the window attributes for them (i.e. the window geometry, window events like minimization, max

  • PO not found in ME9F..

    Dear All, I have created two PO's and mesages has been created in these PO's. But now in ME9F i am getting error as PO xxxxxx not found while for another PO i was able to take print out. What are the possible causes? Amit.

  • Vendor Material no

    Hi All, I would like to create new query from which i wanted to know the GRIN made against Vendor material no. WHich table shall i use in this case

  • Production environment in Linux, development testing in Tru64

    We are going to be upgrading to 9i from 8i and will need to purchase new hardware. So our possible technical architecture in the future will look like this: Production DB and 9iAS running on separate Linux servers, while Development and testing still