How can I set the width of individual coulmns at runtime? It seems to me that the line
dgRecords.Columns(1).Width = 2000
Should set the width of the second column to 2000 pixels, but it has no effect at all. I have DefColWidth set to 0 in the design time properties window.
As a follow up, is there a way to put a check box into a cell of a DBGrid instead of it just showing 0 or -1 ?
Richard
dgRecords.Columns(1).Width = 2000
Should set the width of the second column to 2000 pixels, but it has no effect at all. I have DefColWidth set to 0 in the design time properties window.
As a follow up, is there a way to put a check box into a cell of a DBGrid instead of it just showing 0 or -1 ?
Richard