Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • *Experts*
Posted

What do you mean by a linebreak in a listview? Are you printing the contents of the listview?

 

-Ner

"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
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...