But I am not sure if this was the update you were talking about, or is there a yet new one coming.
I'll better wait til tomorrow if something new arrives in my mailbox
Regards,
Jan
Posted 11 September 2011 - 02:17 AM
Posted 12 September 2011 - 12:01 PM
Posted 13 September 2011 - 05:06 AM
procedure TNextGrid.SetExpanded(Index: Integer; const Value: Boolean);
begin
if Row[Index].Expanded <> Value then
begin
{ Set Property and Refresh }
Row[Index].Expanded := Value;
RefreshRow(Index);
if Row[Index].HasChildren then
begin
ExpandRows(Index, Row[Index].ChildCount, Value);
// if Value then
// begin
// { Update LastVisibleRow in case
// that Row is Expanded }
// end;
FLastVisibleRow := GetLastVisible(Pred(RowCount));
end;
UpdateVertScrollBar;
{ Trigger Event }
DoExpand(Index);
end;
end;Posted 13 September 2011 - 09:10 AM
0 members, 1 guests, 0 anonymous users