![]() For any other purpose, the PageControl and TabControl components, which encapsulate Win32 common controls, provide a more modern user interface. You create a TabSheet at design time by using the shortcut menu of the PageControl or at run time by using methods of the same control.ĭelphi still includes (in the Win 3.1 tab of the Component Palette) the Notebook, TabSet, and TabbedNotebook components introduced in 32-bit versions (that is, since Delphi 2). This is not a stand-alone component and is not available on the Component Palette. In this case, you'll want to use one or more components to mimic the page change operation, or you can place different forms within the tabs to simulate the pages.Ī third related class, the TabSheet, represents a single page of the PageControl. The TabControl has only the tab portion but offers no pages to hold the information. There is one page per tab, so you can simply place components on each page to obtain the proper effect both at design time and at run time. The PageControl component has tabs on one side and multiple pages (similar to panels) covering the rest of its surface. You can use two controls to build a multiple-page application in Delphi: The metaphor is that of a notebook: Using tabs, a user can select one of the possible pages. When you need to display a lot of information and controls in a dialog box or a form, you can use multiple pages. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |