FMX.Types.TTabList.Update

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Update(const TabStop: IControl; const NewValue: TTabOrder);

C++

void __fastcall Update(const _di_IControl TabStop, const System::Uitypes::TTabOrder NewValue);

Properties

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

Description

Sets the tab order of a IControl Object within a TabList.

The first parameter represents the IControl Object.

The second parameter represents the new tab order value within the TabList.


For example, the following code will update the tab order of a TButton to 5:

Delphi :

var
  myInterface: ITabList;
begin
  myInterface := GetTabList;
  myInterface.Update(Button1 as IControl, 5);
end;

C++ Builder :

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


See Also