Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe and its tabs
Message
From
07/12/2002 12:44:56
 
 
To
07/12/2002 11:42:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00730624
Message ID:
00730629
Views:
8
>Hello all.
>
>I have a pagefame where the number of tabs is determined by the number of records in a table. Should be small, but may increase. I have a grid which sits on top of the pageframe, not in. The selection of a tab filters the contents of the grid. The problem I have is that if there is more than one row of tabs, the grid overlaps the second row of tabs. Can anyone inform me on how I can tell whether there is more than one row of tabs so I can reposition the grid.
>
>Jason

Jason,

To know where the Page starts I would use something like
&& this is relative to the container of the PageFrame
PageTop = Frame.Top + Frame.Height - Frame.PageHeight

&& the grid
Grid.Move( Frame.Left + something, PageTop + something, Frame.PageWidth - 2 * something, Frame.PageHeight - 2 * something)
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform