Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Got kind of a problem with data presentation

Status
Not open for further replies.

Karl Blessing

Programmer
Feb 25, 2000
2,936
US
ok Currently I have come to a point where I get a bit stumped, a basic outline of this project, is that it's an ActiveX control thats being seen on IE, the main control (host) has 2 pictureboxes, and a scrollbar, the innerbox, moves around the outerbox.<br><br>within the innerbox I have many more ActiveX controls that are dynamically created from an original that has been placed there during design time.<br><br>This inner ActiveX contains a ListView (Report mode) and a Frame at the bottom, which holds labels, that are disguised as the totals for the Listviews.<br><br>The Data is retreived from an ASP via String, and the ListHost(outer ActiveX) pulls in first the setup information, then it attempts to grab row by row the new data (depending on the number of rows visible the user set, once it grabs say 25 rows, it addes a new group to the list)<br><br>To reduce flickering I had multiple ActiveX being added, except all the ones after the first, have no column header, and all the ones before the last have no totals shown, so it looks like part of the list, then when all the data is done, I gather the full string, and remove all the groups except for the first, and fill it up with all the records.<br><br>heres a couple of the problems<br><br>1) I cant seem to get the Inner ActiveX control to exceed 1,600 pixels (there were 3,750 rows of data)<br><br>I make the inner activeX control the exact height of the listview required (depending on the number of records, which I di a RecordCount * 14, to give me a height of that many rows) this way you dont end up with a scrollbar inside of the listview, so you can scroll using the outerbox.<br><br>2) I cant always seem to get the hight perfect for all inner activeX, since they're may be some gaps, the ones with column headers get a little off and so forth. So I need to reconstruct some kind of forumula to match the height depending on the number of records exist.<br><br>3) In the future I'm going to need to seperate everything into seperate groups, since we'll be having totals shown in the middle of a list, almost as if it were a spreadsheet Report.<br><br>At the moment I have all controls set to use Pixel as the scalemode, currently I do 14 times the number of rows to get the general Height I'd need to show all data, and I add about 16 if it's the first one on the list, so that the column header is in place. Also I need to make sure that the Scrollbar on the right (outerbox) when scrolled all the way down, doesnt go past the total, and show a huge white gap after the records. ( I made it about 1/4th gap now, instead of a full Outerbox height)<br><br>any recomendation, or help on any portion of this is appreciated. As well as alternative methods to acheive the same thing. <p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top