1 (edited by Gilberto_Schiavinatto 2016-04-14 01:56:07)

Topic: Always open to the "PageIndex" = 0.

From "Form" initial (splash screen) and proceed to the "ShowForm" directed to "Form" to "PageControl" always open to the "PageIndex" = 0.

It opens the last used.



pt-br
------------------
A partir "Form" inicial (tela de apresentação) como proceder para o "ShowForm" direcionado para "Form" com "PageControl" sempre abrir na "PageIndex"=0.

Ele abre no último utilizado.

Post's attachments

Attachment icon PageIndex0.zip 323.98 kb, 424 downloads since 2016-04-14 

Re: Always open to the "PageIndex" = 0.

Hello Gilberto

To always open with First Tab, add this code :

procedure FormPageControl_OnShow (Sender: string; Action: string);
begin
    FormPageControl.PageControl1.ActivePageIndex := 0;
end;

JB

Re: Always open to the "PageIndex" = 0.

OK jean.brezhonek, thank you.