[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppVclTPageControl
Forward declaration:
In implementation file, #include ComCtrls.hpp:
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppVclTPageControl
(C++ VCL) TPageControl
Visual Component for having multiple taps to work on.Forward declaration:
namespace Comctrls { class TPageControl; };
In implementation file, #include ComCtrls.hpp:
- include <ComCtrls.hpp>
ERROR: [Debugger Exception Notification] List index out of bounds
The code below looks flawless. Yet, the commented line must be uncommented to make it work.
void hideAllTabs(TPageControl * pageControl)
{
const int pageCount = pageControl->PageCount;
for (int i=0; i!=pageCount; ++i)
{
//pageControl->HandleNeeded();
pageControl->Pages[i]->TabVisible = false;
}
}
'TPageControl' Links
- C++ CLX
- C++ Builder
- Pascal VCL
- Pascal CLX
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
