Witam,
mam pytanie, jak można wyświetlić poprzez buttona TabSheet-a z Page Control-a?
Poprzez activepageindex... Popatrzyłybyś chociaż do helpa.
Szukałem i nic nie znalazłem. Mógłbyś mi podać procedurkę ??
Specifies the page currently displayed by the page control.
property ActivePageIndex: Integer;
Description
Use ActivePageIndex to get or set the active page by index rather than by object. The value of ActivePageIndex identifies a page in the Pages property array. Changing the value of ActivePageIndex changes the ActivePage property, and vice versa.
If there is no active page, reading ActivePageIndex gives a value of –1.
Setting ActivePageIndex to a value that is out of bounds (less than 0 or greater than PageCount - 1) results in the page control having no active page.
Jaaasne.
W takim razie jak to wyświetlić ?
Lol......... Ale jako, że mam dobry humor, masz ten swój gotowy kod...
Pagecontrol.activepageindex:=0; pierwsza zakładka
Pagecontrol.activepageindex:=1; druga zakładka
Nieprawdopodobnie trudne, prawda...?
Witam.
Mam pytanie, utworzyłem na formie pagecontrol a na nim cztery tabsheet-y czy jest funkcja ukrywająca wybrany tabsheet (w object inspector po zaznaczeniu tabsheet-a jest opcja visible) chodzi mi o funkcje w stylu PageControl1.ActivePage(); Żeby jako parametr podać index zakładki do ukrycia.
Pozdrawiam forumowiczów i czekam na odpowiedź.
// nie odświeżać starych wątków! - K