Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PageFrame with 15 pages
Message
From
01/10/2015 15:08:19
 
 
To
01/10/2015 00:23:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01625255
Message ID:
01625336
Views:
73
>>Hi everybody,
>>
>>I have a relatively small form with 14 pages displayed in 2 rows of tabs. I added a 15th page today and now it is displayed in an additional row and the whole layout is incorrect. Is there any way to control how pages are displayed and make sure that only 2 rows of tabs are displayed?
>>
>>Thanks in advance.
>
>Hi Naomi,
>
>You might consider setting TABS off (except in development) and use your own set of buttons to activate/deactivate specific pages.
>
>Hope this helps,
>
>Ken

Once I get to a point where I've got enough pages that the tabs won't fit across the screen in a single row, I usually switch the screen style to one where I've got a control like a listbox or treeview to select the particular page not have visible tabs.
* by adding pages "on-the-fly" (the pages are defined in a classlib) at runtime could reduce time to bring instance of form.
* for coding I find navigating to a class in a classlib easier than digging through a long list of pages in a pageframe -- it also is easier to isolate the code for each of the pages.
* avoids having the potentially "tab shuffle" that occurs when you've got more than one row of tabs
* number of pages can be variable at runtime
* using treeview for page list allows you to organize pages in a hierarchy without resorting to having nested pageframes
Previous
Reply
Map
View

Click here to load this message in the networking platform