Poka?ż TabSheet

0

Witam,
mam pytanie, jak można wyświetlić poprzez buttona TabSheet-a z Page Control-a?

0

Poprzez activepageindex... Popatrzyłybyś chociaż do helpa.

0

Szukałem i nic nie znalazłem. Mógłbyś mi podać procedurkę ??

0

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.

0

W takim razie jak to wyświetlić ?

0

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...?

0

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

1 użytkowników online, w tym zalogowanych: 0, gości: 1