IonicWind Software

IWBasic => GUI Central => Topic started by: billhsln on February 15, 2008, 10:32:39 PM

Title: In a LISTVIEW, have first Column NOT changeable
Post by: billhsln on February 15, 2008, 10:32:39 PM
I am using a LISTVIEW to display Data Base Information.  The first column of which will be the Record_ID, which I do not wish to be changed.  So, I would like this field to be uneditable.  Can that be set from within a LISTVIEW or must it be programmed around?  I just want to make it so that if you click on Column 0, it will not allow you to make changes or at least not take any changes that are made.

Thanks,
Bill
Title: Re: In a LISTVIEW, have first Column NOT changeable
Post by: LarryMc on February 15, 2008, 10:45:02 PM
Why even show it?
Use CONTROLCMD  window | dialog, ID, @LVSETCOLWIDTH, column, widthto set the column width to zero so it won't display.

Larry
Title: Re: In a LISTVIEW, have first Column NOT changeable
Post by: billhsln on February 15, 2008, 11:55:53 PM
Excellent way to make it unchangeable.   I have already implemented it and it seems to be exactly what I needed.  You are right, I want to store it in the row, but do not really need it displayed.

Thanks for the help Larry,  this will make life much easier.

Thanks again,
Bill