Results 1 to 7 of 7

Thread: Having trouble with menu strip

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2011
    Location
    Oregon City, Oregon
    Posts
    705

    Having trouble with menu strip

    I have an application using a menu strip with three entries/commands:

    File
    Cancel
    Exit

    The File command is first level and the other two commands are second level.
    The properties have been set so that it is &File, &Cancel and E&xit such that I can use the alt+(F,C,x) to initiate the commands. However, when the application is run the underlines do not show up in the window. No big deal, because when I hit the alt key they do indeed show up. But my disappointment is increased because only the File command will respond to the alt key. Does anyone know what it is that I have done wrong?

  2. #2
    Still learning kebo's Avatar
    Join Date
    Apr 2004
    Location
    Gardnerville,nv
    Posts
    3,762

    Re: Having trouble with menu strip

    I don't think you have done anything wrong. It sounds like normal behavior to me. The menu underlining is a system wide setting, and the when you use the alt key you can't use ALT-C for the cancel menu... you need to use alt-F-C... this too is normal.

    If you want a single key combination to access the child menus, you need to set the menu item's ShortCutKeys property.
    Process control doesn't give you good quality, it gives you consistent quality.
    Good quality comes from consistently doing the right things.

    Vague general questions have vague general answers.
    A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.

    ______________________________
    Last edited by kebo : Now. Reason: superfluous typo's

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2011
    Location
    Oregon City, Oregon
    Posts
    705

    Re: Having trouble with menu strip

    I can see how that would be, but then why is it that File works and why is it that until I press the alt key I do not even see the underlines? The only thing that is not working is the child menu inputs. There is no message that shows after I press the buttons alt+F, alt+C, or alt+x. I just get to response from the alt+C and the alt+x. I am also assume that neither is case sensitive.

    By the way, as a chemical process engineer of over 30 years (retired), I cannot quite agree with your statement. I would have said that without process control there is NO quality and that process control is consistently doing the SAME things (whether it is right or not is merely a function of whether those consistent actions provide the desired result) Which should have defined from Design Control activities.

  4. #4
    Still learning kebo's Avatar
    Join Date
    Apr 2004
    Location
    Gardnerville,nv
    Posts
    3,762

    Re: Having trouble with menu strip

    I do not even see the underlines?
    Like I said, this is a system setting. I think it can be changed using one of the options in the Ease of Use Center (on Win7 anyways.)

    Alt-F should only open the file menu
    Alt-C and Alt-X will not do anything unless like, I said before, you have set the menu item's ShortCutKeys property to those values.

    An objects quality is merely a measure of the object's properties. In order to repeatedly recreate the objects properties, you must have control. Once control is in place, you can then make educated changes to the process that created the object to beneficially change the object's quality. Whether that quality is good or bad is completely subjective. McDonalds for example has terrible quality (in my opinion) but they have some of the best process control around. No matter what McDonalds you go to, you know you will get the same hamburger. That is a sign of good process control. With or without control, the object will still have a measurable quality. But that is another discussion.
    Process control doesn't give you good quality, it gives you consistent quality.
    Good quality comes from consistently doing the right things.

    Vague general questions have vague general answers.
    A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.

    ______________________________
    Last edited by kebo : Now. Reason: superfluous typo's

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2011
    Location
    Oregon City, Oregon
    Posts
    705

    Re: Having trouble with menu strip

    Gottcha. I have to say that since I started to move out into working with system crap things have gotten much, much more complicated.
    As I see it, when I press alt+F the child members of the menu should be displayed and then I should be able to press alt+X to run the Exit sub or press alt+C to run the cancel sub. Which of course is not what occurs and what the primary problem I am having is. At any rate, I will be going back to the control panel and at least fixing that part of it. Thanks.

  6. #6
    Still learning kebo's Avatar
    Join Date
    Apr 2004
    Location
    Gardnerville,nv
    Posts
    3,762

    Re: Having trouble with menu strip

    No problem,

    btw, to access the children in the menu it would be
    Alt-F,C
    Alt-F,X

    this is how windows works.
    GL.
    kevin
    Process control doesn't give you good quality, it gives you consistent quality.
    Good quality comes from consistently doing the right things.

    Vague general questions have vague general answers.
    A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.

    ______________________________
    Last edited by kebo : Now. Reason: superfluous typo's

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2011
    Location
    Oregon City, Oregon
    Posts
    705

    Re: Having trouble with menu strip

    Kebo,

    Thanks for the info. I will be looking more into that.

    Well said about quality. Essentially, what you described is Design Control, Validation, Process Control and Quality Control, respectively. Your McDonalds analogy is good because it very well illustrates the misuse of the word quality. Quality should not be thought of as something as subjective as taste, but instead the result of consistently achieving those properties defined in a set of specifications/requirements of the process under consideration. That is how quality is defined and typically used in an engineering/science environment. I would not agree that quality defines whether or not the end product is beneficial or necessarily useful. It has been a long time since I have had a discussion about this type of thing. Thanks, it was fun.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width