The control is skipped when you cycle through the controls with the Tab key. You can prevent a control from receiving focus when the Tab key is pressed, by setting the TabStop property to false. Set the TabIndex property to a numerical value. In the Properties window in Visual Studio, set the TabIndex property of the control to an appropriate number. Use the Visual Studio designer Properties window to set the tab order of a control. By turning off the TabStop property, a control is passed over in the tab order of the form. Usually, pressing Tab successively at run time selects each control in the tab order. When Tab is pressed on the last control, focus resumes to the next control in the parent of the container, based on the next TabIndex value.Īny control of the many on your form can be skipped in the tab order. As the Tab is pressed, each child control is focused according to its TabIndex value until the last control. Because a container control can't be focused, when the tab order reaches the container control, the child control of the container with the lowest TabIndex is focused. Each child in the container has its own TabIndex value.
You can create a table of contents that is based on the custom styles that you will add to your document. Once the highest TabIndex has been focused, pressing Tab will cycle and focus the control with the lowest TabIndex value.Ĭontainer controls, such as a GroupBox control, treat their children as separate from the rest of the form. Microsoft Word 2013: Create a Table of Contents Automatically The easiest way to create a table of contents is to use the built-in heading styles. Under Tab stop position:, enter the amount of inches you want the line to extend to. Here’s how: Place your cursor on the left margin where you want to draw the line (the tab will be set for the document, not just that one line, of course) then under Format, click Tabs. By default, the first control added to the designer has a TabIndex value of 0, the second has a TabIndex of 1, and so on. The best way to do it is by setting a tab with a lead character. format tex t wit h Font commands Text must be selected in order to format it using font commands. I look forward to learning to use Word 2013 in this class.
After the last sentence, key the sentence below. Notice that Word does not close, and you are ready to begin Drill 3. The TabIndex property of a control determines where it's positioned in the tab order. From KPDO Student tab, select Next Activity. Tab order can be set in the Properties window of the designer using the TabIndex property.