Mike Sue-Ping
Cambridge, Ontario, Canada
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only