![]() ![]() Let's say this is the File menu, so let's change Name by typing in mnuFile and press enter. In object inspector, change the Name property from MenuItem1 to something more appropriate.You probably want to change this, so click on it, then go to the Object Inspector. This will be the top-level menu, similar to the "File Edit View Help" menus you've seen before. The Menu Editor window will open with a menu item already created with a caption of "New Item1".For right now, what we want is the first selection, Menu Editor. Right-click on XMenu, and a pop-up menu will appear.Type in XMenu in the box to the left of the Name property, and push enter. If you don't like the name MainMenu1, go to the Object Inspector window and change the Name property to something you like better. ![]() This will be a square with a representation of a drop-down menu and the component's name, which will default to MainMenu1. Select TMainMenu from the component bar and place a component on your form by clicking on the TMainMenu component, then click on the form but do not let go of the mouse button, and while holding the mouse button down, draw a box and let go of the button.Note that this is a convention, it isn't mandatory, but if you do it this way it will probably make it easier to make changes later, or to understand what the code is doing when you haven't been looking at it for a while, or to allow someone else who has to do maintenance on the program you're writing to be able to fix it later. This is a mnemonic and makes it easier to remember, six months from now when you need to make changes, how to put them in. the 'Cut' submenu in the Edit top-level menu is usually named mnuEditCut or menuEditCut. Submenus continue this by prefixing with the menu they are within, e.g. It is common practice to name menus starting with mnu or menu and the name of the menu. To see the Menu Editor, right-click on the Main Menu icon on your form. The main menu that appears at the top of most windows that form designers can customize by choosing various menu items. 9 Issue: Submenus dropdown to the left (Windows Vista, 7 and 10).4 Making the menu actually do something.TextEdit would be a good one to try for the test. For this test, try a completely different app that you haven't tried. ![]() Now, try to add an app to your login items list, then check to see if that item stays in the list after a logout/login. ![]() When the prompt returns, quit the terminal. You will NOT see any characters appear as you type the password, so just type it, then press enter. Terminal will ask you to enter your admin password. Type "sudo chown -R username /Users/username"ĭon't type the quotes, watch the spaces, and don't forget the -R is a capital - and press enter to run the command. Now, assuming that the login items list appears to clear itself on a simple restart, then perhaps the ownership of your user folder needs to be reset. (hint - log out, then log back in ) After that logout/login, does that item still appear in the login items list? Are there ANY items in the login items list? How do you test to check that item actually does start as a login item? "didn't help" doesn't describe what you tried, or what happened when you tried.įor example, when you drag an app to the Login items window, does that item appear in the list at that time? Can you respond with more than a 2-word comment? ![]()
0 Comments
Leave a Reply. |