Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经在TcxGrid. 我想让整个导航器禁用而不隐藏它。我怎样才能做到这一点?
TcxGrid
看一下视图的 NavigatorButtons。您可以禁用/启用每一个,例如
view.NavigatorButtons.Append.Enabled := false;
或在循环中禁用/启用它们:
var i:Integer; begin for I := 0 to view.NavigatorButtons.ButtonCount - 1 do view.NavigatorButtons.Buttons[i].Enabled := false; end;