Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
location of PageFrame tabs
Message
From
06/06/1996 13:06:32
 
 
To
05/06/1996 13:06:02
Charles Fleming
Alba Computing Services
Edmonton, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00001942
Message ID:
00001992
Views:
30
>I can create a pageframe with tabs at the top or
>no tabs, but can I set the tabs to appear at the
>bottom of the page?
>

It is possible to put frame tabs on the bottom or sides of the frame indirectly. It is a bit more work but is can be done. Once done it should be a good candidate for a class.

1) First, set Tabs property of the pageframe to false.

2) Next, create a shape object with rounded corners (Curvature = 25 is good) for the tabs you need. Arrange the tabs along the bottom or side you want under the frame and size to fit.

3) Create a shape object for each "tab" long and wide enough, with colors set to the background color of the frame, to mask out the line where the frame and tab meet. Set the Visible property to false.

4) In the "tab's" Click Event method:
A: set the frame's Active Page property to the
number of the page you want to bring to front

B: set the Visible property of that tab's
corresponding mask object to true

C: Set the Visible property of all other mask objects
to false.


You will have to create a rotated graphic side tab lables.

This is more work but it does work. Hope it helps!

Adam Nettles
Nettles & Associates
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform