How to add a column in a view by button

Hello,how to add a column in a view by button (code):

I want to create a button which adds a column in a view and by giving like name of column the contents of a field

supposing that the name of the field is: " NomColonne " and the button " ADD "

Thank you in advance

Subject: how to add a column in a view by button

Read designer help - NotesView class.