>i have only 3 columns in my grid and fits exactly in my form. when i press the right arrow key, column 2 and 3 are only shown. i want to show all 3 columns. i'm using vfp 6.0
>
>how to do this? TIA.
In addition to Marcia, you may need to add one pixel for each colom + 1. So for 3 columns, your grid width would need to be the sum of column widths + 4 (3 colums+1). To kkep it from "wiggleing" off grid when you press enter or arrow or backspace, you may need to add code to the grid.column.text.keypress event.
Imagination is more important than knowledge