Jump to content


Photo

procedure TNextGrid.AddCells


  • Please log in to reply
1 reply to this topic

#1 chris

chris
  • Members
  • 21 posts
  • Location:Bordeaux, france

Posted 29 March 2006 - 08:28 PM

hi
in V3.5 the line with exit i replace > by >=

procedure TNextGrid.AddCells(Values: array of WideString);
var
I, Col: Integer;
begin
AddRow;
I := 0;
while I < Length(Values) do
begin
for Col := 0 to Columns.Count - 1 do
begin
Cells[Col, RowCount - 1] := Values[I];
Inc(I);
if I >= Length(Values) then Exit;
end;
if I < Length(Values) then AddRow;
end;
end;

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 05 April 2006 - 11:53 PM

Hello,

Fixed. Thank you,

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users