Reputation: 3699
I have shown the navigator on a TcxGrid
. I'd like to make the entire navigator disabled without hiding it. How can I do that?
Upvotes: 0
Views: 1225
Reputation: 27377
Take a look at NavigatorButtons of the view. You can disable/enable every one e.g.
view.NavigatorButtons.Append.Enabled := false;
or disable/anable them all in a loop:
var
i:Integer;
begin
for I := 0 to view.NavigatorButtons.ButtonCount - 1 do
view.NavigatorButtons.Buttons[i].Enabled := false;
end;
Upvotes: 5