TIWCGBSPagination Question
Posted: 12 Jun 2020 08:01
How do I set the Active property of a specific button at runtime?
Welcome to the Official CGDevTools Support Community Forums.
https://www.cgdevtools.com/cgforum/
https://www.cgdevtools.com/cgforum/viewtopic.php?f=118&t=3994
procedure TIWFormBootStrap1.Pagination1IWCGHTMLBSPaginationElementElements0Elements0Events0(Sender: TObject; AParams: TStringList);
var idx : integer;
begin
idx := APArams.Values['index'].ToInteger;
PaginationItem := TIWCGBSPaginationItem(Pagination1.Html.Elements[0].Elements[0].Elements[idx]);
PaginationItem.Active := true;
end;