Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello All,

 

I have a form with a listview on it , and a button.

 

 

What im trying to do is when you click the button it lets you pick a columnheader to delete or add.

 

so what i need to know is how to get the index of a columnheader to do this with.

 

if i have 5 columns and i want to delete column 3 then i just enter 3 and its gone.

 

Any ideals

 

thanks

Posted

I don't know exactly what your problem is.

 

Do you need a way to let the user enter a number (3 in your example) ?

Do you want to have the user click on a column and then get its index?

.nerd
  • 2 weeks later...
Posted

no trying to figur out what set a column index

 

if i choose to add a column then get last column in listview and add to it.

 

if i delete a column lets say 3 how to tell the program to delete column 3

 

i got a text box for the input the button ether adds or deletes if colum is there or not. plus two radiobuttons one add one delete. depending on which one is selectid the button will do what it needs to do.

 

thanks

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...