| Simple lists | Top Previous Next | 
| DFM-Translator > Special assignments > Lists > Simple lists Examples of a simple lists are ColWidths or RowHeights in a TStringGrid The DFM code which assign some column widths might look like: 
 object StringGrid1: TStringGrid ... ColWidths = ( 10 100 ... ) 
 For such lists assignment procedures can be defined, simitar as to other DFM assignments. For TStringGrid the following two procedures are predefined: 
 
 void AssignTStringGridColWidths(TStringGrid* xp, int xi, int xiIndex); void AssignTStringGridRowHeights(TStringGrid* xp, int xi, int xiIndex); 
 
 Here the assignment procedure a third parameter is passed, which is the number of the list value. 
 
 | 
| This page belongs to the Delphi2C# Documentation | Delphi2C# home Content |