How to set tab order in embedded frames? (C++ FMX, C++ Builder)


I am trying to set the tab order for fields that are in frames within the main form, however, the edit boxes are never activated. The only time I can activate the top edit field is when I use the SetFocus function. What am I missing?

Relevant code

__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
Frame31->Edit1->TabOrder = 0;
Frame21->Rectangle1->TabOrder = 1;
Frame22->Rectangle1->TabOrder = 2;
Button1->TabOrder = 3;

App screenshot with labels

Component Hierarchy



Updated question to reflect design of application; included component hierarchy image and updated labels in application screenshot.

Comments are closed.