Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with tabbed pages
Message
From
12/11/2002 16:37:16
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
12/11/2002 16:33:57
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00721831
Message ID:
00721833
Views:
9
Never mind guys...I discovered the PageHeight property. Helps if I open my eyes when cutting code :)

Mike

>Hi All,
>
>I have a form that contains a pageframe with 10 pages. On each page I place a listbox. I want to have each listbox resize to fill the entire page when the form resizes. In my form's resize event, I put code to do so.
>
>The problem I'm having is that sometimes the tabs are on multiple rows (which is what I set the tabstretch property to) and sometimes they are not (occupying a single row). When the former occurs, how can I determine the height of each page so that I can resize the height of the listboxes accordingly? There is no page.height property, only a pageframe.height. To get an individual page's height I take the latter and reduce it by its tab's height (approximately 35 from what I've been discovering). I suppose that I need to answer the question, how can I tell if the tabs are occupying more than one row?
>
>TIA
>
>Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform