tabsFrontMost ( tabNames )
Rate this function: Average rating: 3.7 (18 votes) Discuss this Custom Function
Sean Walsh, SolvEnterprises, LLC
http://www.solventllc.com/
Returns a value list of object names of the tabs that are the front most tabs selected.
Sample Input:
| tabsFrontMost ( tabsActive ( LayoutObjectNames ( Get ( FileName ) ; Get ( LayoutName ) ) ) ) |
|
Sample Output:
|
Description:
Returns a value list of object names of the tabs that are the front most tabs selected. Unlike other tab functions this function will look at tab panels that are side by side.
Example:
There are five sets of tab panels on a layout.
The 1st set has three tabs: Tab 1 A, Tab 1 B, Tab 1 C
The 2nd set has three tabs: Tab 2 A, Tab 2 B, Tab 2 C
The 3rd set has three tabs: Tab 3 A, Tab 3 B, Tab 3 C, this 3rd set is nested in the tab named 'Tab 2 B.'
The 4th set has three tabs: Tab 4 A, Tab 4 B, Tab 4 C, this 4th set is nested in the tab named 'Tab 2 C.'
The 5th set has three tabs: Tab 5 A, Tab 5 B, Tab 5 C, this 5th set is nested in the tab named 'Tab 4 C.'
Results:
All the following results are called using: tabsFrontMost ( tabsActive ( LayoutObjectNames ( Get ( FileName ) ; Get ( LayoutName ) ) ) )
If tab Panels 1 & 2 are both the front most tabs - returns 'Tab 1 A', and 'Tab 2 A'.
If tab panels 1 B, 2 B, 3 A are all the front most tabs - returns 'Tab 1 B', 'Tab 2 B', and 'Tab 3 A'
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:
|
Newest Custom Functions:
| 1. |
list.intersect (listA; listB) |
| |
(Mon, May 14, 12:43pm) |
| 2. |
WeekStart ( weekOfYear ; year ) |
| |
(Sat, May 12, 8:42am) |
| 3. |
PercentToWords (FIELD) |
| |
(Thu, May 10, 3:16pm) |
| 4. |
PercentToText (FIELD) |
| |
(Thu, May 10, 2:37pm) |
| 5. |
StripReserved( text ) |
| |
(Wed, May 02, 6:05pm) |
| 6. |
ListBaseTables |
| |
(Wed, May 02, 3:48pm) |
| 7. |
ValidEmail( theEmail ) |
| |
(Wed, May 02, 7:27am) |
| 8. |
UltraDate (Text; LongDate_or_DateDigit) |
| |
(Wed, May 02, 6:07am) |
 |
|
What about the case where Tab 5 B is frontmost?
WilliamCB, London
July 30, 2009 12:35pm