alvechurchdata
Programmer
I have a form with a PageFrame. Page 1 shows customer details and I add an extra page at runtime for each of the customer's maintenance contracts. The caption of each contracts page gives the make and serial number of the machine under contract.
This works very well. Users can see at a glance all the contracts for a customer and can flip to the page with details of any particular contract.
We now have a customers with 20, 30 and 40 contracts. The pageframe grows extra rows of tabs to accomodate these contracts. First it grows large enough to cover the buttons at the base of the form. Then it grows bigger than the form.
How can I deal with this?
The Height property of the pageframe doesn't change as it grows.
I know the height the tabs but I cannot count the number of extra rows of tabs.I know the number of pages but the tabs are not a fixed width - there are between 3 and ten tabs per row.
I have added a vertical scroll bar to the form but it doesn't appear until I tab to a control that's off screen.
This problem has spoilt my afternoon and I'd be grateful of any suggestions.
Geoff Franklin
This works very well. Users can see at a glance all the contracts for a customer and can flip to the page with details of any particular contract.
We now have a customers with 20, 30 and 40 contracts. The pageframe grows extra rows of tabs to accomodate these contracts. First it grows large enough to cover the buttons at the base of the form. Then it grows bigger than the form.
How can I deal with this?
The Height property of the pageframe doesn't change as it grows.
I know the height the tabs but I cannot count the number of extra rows of tabs.I know the number of pages but the tabs are not a fixed width - there are between 3 and ten tabs per row.
I have added a vertical scroll bar to the form but it doesn't appear until I tab to a control that's off screen.
This problem has spoilt my afternoon and I'd be grateful of any suggestions.
Geoff Franklin