TexG Posted April 22, 2003 Posted April 22, 2003 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 Quote
Heiko Posted April 22, 2003 Posted April 22, 2003 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? Quote .nerd
TexG Posted April 30, 2003 Author Posted April 30, 2003 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 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.