Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FILLING A GRID WIHT STRINGS

Status
Not open for further replies.

JCooL

Programmer
Oct 21, 2001
89
US
Hi,

If i have a string "Hi boys this is a beutiful job", how can i fill a row or column of a grid with this.

Thank you..
 
Its quite straight forward really ,

Say we have a stringgrid called Grid, we would loop through the columns adding the string to the specified row(ie row 1)

Such as

for col:= 1 to Grid.Colcount
Grid.Cells[col, row]:= 'Hi boys this is a beutiful job';

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top