Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dealing with too many tabs on PageFrame
Message
 
 
To
09/01/2008 15:00:23
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01280576
Message ID:
01280706
Views:
21
>>>>>>>>>>If a pageframe has too many (relatively) tabs/pages, can I set them up to be shows in 2 rows (as in some applications)?
>>>>>>>>>>
>>>>>>>>>>Thank you.
>>>>>>>>>
>>>>>>>>>Check TabStretch property of PageFrame Control
>>>>>>>>
>>>>>>>>Yes, this one does what I need. Thank you.
>>>>>>>>
>>>>>>>>However, I can't see a way to specify which tabs/pages go to what row of tabs. Maybe it is not controllable or maybe I just don't see it.
>>>>>>>
>>>>>>>No it is not controllable. VFP just Stretch all Tabs from the end until the fit in PageFrame size.
>>>>>>
>>>>>>Thank you for the explanation. Too bad they didn't give us more control.
>>>>>
>>>>>Each page has its own PageOrder property which you can use for this.
>>>>
>>>>But this is not really helpful. Say I have 8 tabs/pages and I want 4 to be on one row and another 4 on another. I can't do it.
>>>
>>>I was sure that each page also had a TabWidth property, but I remembered wrong. If we had that property, it would have been "piece of cake".
>>
>>Maybe VFPT will add this feature in SP3 <g>.
>
>I run a few tests, and I found a way. You must set TabStretch to 0. Then you can control which tabs are in which row by changing the PageOrder and the length of each page's caption. Not easy, but possible.

Thank you very much.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform