Board index » delphi » Dynamically adding pages to TPageControl?

Dynamically adding pages to TPageControl?

Does anyone know, is it possible in Delphi 2.0 to add pages to a
TPageControl at runtime?  If so, how?

--
Kenn Nesbitt
k...@nesbitt.com
http://www.nesbitt.com/

 

Re:Dynamically adding pages to TPageControl?


On Sun, 03 Mar 1996 02:23:44 GMT, k...@nesbitt.com (Kenn Nesbitt)
wrote:

Quote
>Does anyone know, is it possible in Delphi 2.0 to add pages to a
>TPageControl at runtime?  If so, how?

Create a TTabSheet component, and assign its Parent and PageControl
properties to refer to the TPageControl object.  The documentation for
Delphi 2.0 is just as clear as it was in Delphi 1.0...
--
Ray Lischner                              li...@tempest-sw.com
Tempest Software, Corvallis, Oregon, USA  http://www.tempest-sw.com

Other Threads