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!

ListView(ReportView Mode) : Trying to match height to ammount of data

Status
Not open for further replies.

Karl Blessing

Programmer
Feb 25, 2000
2,936
US
I have a listView in an activeX control, then I have a overlaping activeX that will be making a control array out of them, but what I need to do is to make the listview the same height as the data within, so I dont have scrools in the middle of this listing of control arrays, so how do I grab the height I would need, to show every peice of data in a ListView that is in ReportView Listing. also, I have Borders Turned off, and the looks of it is flat (so from cordinate 0 to edges are just the listings, except for the first ActiveX which will be showing the ColumnHeaders, while the rest dont have a columnheader shown) <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.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>
 
PS: the reason I have it setup so that it does multiple activeX, each activeX takes in the column header data, and data listing(for each column) then I have to show a total down at the bottom of each of these rows(or nothing shown if the Column listing said not to show data), I found this to be an esier way than to use a single Listview, then to try to figure out how to shove total rows into sections, mainly because if I could, the sections I'd need to total, Sum, avg, etc would lose it's index placement. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.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