>VFP add one text1 control any time you open the grid on design env; >if you reopen the grid 20 times, you have 20 text1 control on the column. >I'm not able to duplicate this problem. Here's what I tried
CLOSE TABLES ALL USE (HOME()+"SAMPLES\TASTRADE\DATA\CUSTOMER.DBF") DELETE FILE EmptyColumnExample.sc? CREATE FORM EmptyColumnExample NOWAIT LOCAL laObj[1] ASELOBJ('laObj',1) WITH laObj[1] .ADDOBJECT('Grid','Grid') WITH .GRID .RECORDSOURCETYPE = 0 .COLUMNCOUNT = 1 WITH .COLUMNS(1) .REMOVEOBJECT('Text1') ENDWITH ENDWITH .ACTIVATE ENDWITH KEYBOARD '{CTRL-W}' MODIFY FORM EmptyColumnExample>You ask me why i use a column withou text control ?