FIXED()

Tabs

This property determines whether or not the pages in a page frame have tabs. Tabs let the user click on a page to bring it to the top. Without tabs, the pages sit one on top of the other and you have to bring different pages to the top programmatically (by changing ActivePage).

Usage

pgfPageFrame.Tabs = lHasTabs lHasTabs = pgfPageFrame.Tabs
If Tabs is .T., the setting of BorderWidth is ignored and a border width of 1 pixel is used.

If you use tabs, you can force them to stay in a single row or let them get stacked as in the Tools-Options dialog. Check out TabStretch.

In VFP 5 and later, TabStyle lets you base the width of each tab on its contents.

Tabs can only be at the top of the page frame—if you need something else, check out some of the ActiveX controls around.

Example

ThisForm.pgfDays.Tabs = .T.

See Also

ActivePage, BorderWidth, Page, PageFrame, TabStretch, TabStyle


View Updates

Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.



Hacker's Guide to Visual FoxPro 7. 0
Hackers Guide to Visual FoxPro 7.0
ISBN: 1930919220
EAN: 2147483647
Year: 2001
Pages: 899

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net