Article Preview
Buy Now
COLUMN
Ask The Experts
Issue: 1.3 (December/January 2002)
Author: Seth Willits with Thomas Reed and Sean Beach
Article Description: No description available.
Article Length (in bytes): 14,816
Starting Page Number: 32
Article Number: 1316
Resource File(s):
1316.zip Updated: 2013-03-11 19:07:56
Related Link(s): None
Excerpt of article text...
How can I find out the number of tabs that are on a tabpanel?
The number of tabs on a tab panel cannot change at runtime, but at times it can be useful to find the number of tabs one has. The number of tabs that are on tab panel is stored in a property of the control which REALbasic currently does not allow access to, however it can be retrieved using a simple Declare. Add this method to a new or existing module:
Function GetTabPanelCount(tp as TabPanel) As integer
#if TargetMacOS then
...End of Excerpt. Please purchase the magazine to read the full article.