Home › Forums › Konopka Signature VCL Controls (formerly Raize Components) › RZTOOLBAR clear buttons › Reply To: RZTOOLBAR clear buttons
July 12, 2019 at 4:22 pm
#1403
Hi,
I apologize for the delay in responding. One thing to consider when dealing with user access is that it may be better to simply hide the controls that are not applicable to the current user’s access.
However, given your question about deleting buttons from a TRzToolbar, you can accomplish this by simply freeing the toolbar controls. For example,
var
I: Integer;
begin
for I := RzToolbar1.ControlCount - 1 downto 0 do
RzToolbar1.Controls[ I ].Free;
Ray