S sweetychild Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-09 #1 关于STRINGGRID的每个CELLS[I,J]单独定义高和宽的问题,哪个属性是用于实现它啊?
B bswilson Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-09 #2 在STRINGGRID中不好控制啊,建议用TopGrid,其方便之处不止这点,以后你 要控制具体的CELL的时候才知道当初的选择.
S sweetychild Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-10 #4 wk_knife>>单独定义行高是哪个属性啊? bswilson>>TOPGRID是哪里的控件啊?
Y yzhshi Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-10 #6 StringGrid.RowHeights StringGrid.ColWidths 这两个可以整行和整列改变,不过单独改变一个好像就难了,而且改变后表格会变成什么样子呢?没有实验过。
S sweetychild Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-10 #7 YZHSHI你说的我试过了,好象不行也,不能单独改变一整行或一整列的高或宽,正确的用法是怎样啊?
S shw_3 Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-10 #8 StringGrid.ColWidths:=100; i为0...n的数。
Z zbsfg Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-10 #9 //宽 //TCustomGrid.ColWidths //ColWidths[Index: Longint]: Integer; stringgrid1.colwidths[1]:=100; //高 //TCustomGrid.RowHeights //RowHeights[Index: Longint]: Integer; stringgrid1.rowheights[1]:=16;
//宽 //TCustomGrid.ColWidths //ColWidths[Index: Longint]: Integer; stringgrid1.colwidths[1]:=100; //高 //TCustomGrid.RowHeights //RowHeights[Index: Longint]: Integer; stringgrid1.rowheights[1]:=16;
C CDA Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-10 #10 DrawGrid, StringGrid都不能单独控制Cells[I, J]的宽,高; 要么改写StringGrid, 要么另找别的控件!!