I can move with the TAB key from one component to the next.
But in a TTMSFMXPageControl the TAB key doesn't stop at the last control on a Page.
It goes to the first control on the next Page.
The PageControl doesn't switch pages automatically, so the focus is "lost".
Is there a property to change this behaviour ?
It would be nicer if a TAB on the last control, will move the focus to the first control on the same page.
And the other way around using Shift-TAB.
We have investigate this here and have applied a fix for this issue. It seems to be an initialization issue with setting the pages visible to false initially. As a temporary workaround, you'll need to set each page container visible property to false, except for the active page.
Thx for the fix and tip.
But I'll have to do this each time the user switches pages ?
Or can I do this designtime ?
No you only need to do this once in the constructor of the form, until the next version is available ofcourse. The next code loop should help you with this.
procedure TForm1.FormCreate(Sender: TObject);
for I := 0 to TMSFMXPageControl1.Pages.Count - 1 do
TMSFMXPageControl1.PageContainers.Visible := (TMSFMXPageControl1.ActivePageIndex = I);