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.
我在 Delphi 5 中有一个 TRxQuery(它源自 TQuery)绑定到一个网格。我正在添加一个过滤器编辑框,并希望在用户键入时过滤网格。有没有办法在不关闭和重新打开查询的情况下过滤数据集,因为这会导致不必要的闪烁。
非常感谢
Procedure SetFilter(DS:TDataset;Const Filter:String); begin DS.Filtered := false; DS.Filter := Filter; DS.Filtered := true; end;