Database Reference
In-Depth Information
the Tab Control right after you set it up, because it's a bit of a pain to reselect all your tabs
later. Try it now: Click outside the Tab Control to deselect it. Then click the Agreement tab.
To select the others, you have to press Shift and then click twice on the other tabs. Pause
slightly between clicks—if you click too fast, your computer will think you're double-click-
ing and open the Tab Control Setup dialog box).
Switch to Browse mode, where you'll see that your Tab Control is already working. You can
click tabs, and each one comes to the front, just as you'd expect. But a Tab Control without
objects is pretty useless.
Switch back to Layout mode to divide your objects and move them onto their proper tabs.
First, select the fields and field labels that belong on the Agreement tab (refer back to Fig-
ure 4-16 , if you need a refresher). Then drag those fields onto the Agreement tab. Choose
File→Manage→Database to create a Notes field (Text type) in the Lease Agreement table
and then put it on the Agreement tab, too. Use the Inspector to add a vertical scroll bar to the
Notes field.
Click the Payments tab and move the Payment portal and its fields to the Payments tab.
Double-click the portal to view the Portal Setup dialog box and then increase the number of
rows to nine. Finally, now that the tabs are filled, put copies of the Name fields above the
Tab Control (you may have to reduce the height of the Tab Control to make room for the
Name fields above it). That way, you know whose record you're looking at, no matter which
tab is selected.
NOTE
If you use the Arrange→“Send to Back” command for an object that's on a Tab Control, the selected
object goes behind other objects on the same tab , but not behind the Tab Control itself.
Editing Tab Controls
As you just saw, you can add a Tab Control any time you need to fit more stuff on a layout.
And once it's there, you can add or delete panels or change the control's appearance. Edit a
Tab Control by double-clicking it in Layout mode to summon the Tab Control Setup dialog
box.
Adding, Removing, and Reordering Tabs
In the Tab Control Setup dialog box, you can add new tabs by typing a name and then click-
ing Create. The new tab appears at the end of the list of tabs and to the right of the existing
tabs in the control. You can also rename an existing tab: Select it in the list, enter a new name
and then click Rename.
Search WWH ::




Custom Search