FMX.Types.TTabList.Remove

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Remove(const TabStop: IControl); virtual;

C++

virtual void __fastcall Remove(const _di_IControl TabStop);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Types.pas
FMX.Types.hpp
FMX.Types TTabList

Description

Removes a IControl Object from the TabList.

For example, the following code will remove a TButton from the TabList :

Delphi :

var
  myInterface: ITabList;
begin
  myInterface := GetTabList;
  myInterface.Remove(Button1 as IControl);
end;

C++ Builder :

ITabList * myInterface = GetTabList();
myInterface->Remove(System::interface_cast<IControl>(Button1));


See Also