wrxdriven Posted November 6, 2003 Posted November 6, 2003 how do you insert a line break in a listview? i need to make it insert only every 12 lines. also i need to insert and make the same line break work in an html file that is created at the same time. Can you tell me how that might work? thanks Quote
*Experts* Nerseus Posted November 6, 2003 *Experts* Posted November 6, 2003 What do you mean by a linebreak in a listview? Are you printing the contents of the listview? -Ner Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
wrxdriven Posted November 7, 2003 Author Posted November 7, 2003 i need to add a blank line every 12 lines.. Quote
mocella Posted November 7, 2003 Posted November 7, 2003 There's issues to doing so, but you could just insert a blank item every 12 lines. Just set up a loop to run for (i = 0 to listbox.items.count - 1) and run a counter (or use MOD function) and do a listbox.items.Insert(i, " ") where i = your loop counter. Once the loop is run, your list should have blank lines where appropriate. The down-side with this is that you're going to have to code around these blank lines for data-validation and such. Good luck. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.