TExplorerBar is an Outlook-style vertical task panel with collapsible sections and gradient headers.
Each section is represented by a TTaskPanel child object that can be expanded or collapsed by clicking
its title bar. The panel supports vertical scrolling when content exceeds the visible area, making
it suitable for navigation menus, task lists, and property groups.
Command Syntax
@ nRow, nCol EXPLORERBAR oBar OF oWnd SIZE nW, nH
Key DATA Members
DATA
Type
Description
aPanels
Array
Array of TTaskPanel objects added to the bar
nTopColor
Numeric
Top gradient color for the bar background (default RGB(122,161,230))
nBottomColor
Numeric
Bottom gradient color for the bar background (default RGB(99,117,214))
oVScroll
Object
Vertical scrollbar control for scrolling panel content
nVPos
Numeric
Current vertical scroll position
nVirtualHeight
Numeric
Total virtual height of all panels combined
nVirtualTop
Numeric
Current scroll offset from the top
lSBVisible
Logical
Scrollbar visibility flag
aGradient
Array
Custom gradient definition for panel headers
bClrGrad
Block
Code block returning custom gradient colors
TTaskPanel Class (Child of TExplorerBar)
DATA
Type
Description
cTitle
Character
Panel section title displayed in the header
nTitleHeight
Numeric
Height of the clickable title bar (default 25)
nBodyHeight
Numeric
Height of the body area when expanded (default 50)
lCollapsed
Logical
Whether the panel is currently collapsed
aLinks
Array
Array of TUrlLink controls added via AddLink()
aGradient
Array
Gradient colors for the title bar
nRound
Numeric
Corner rounding radius for the panel (default 6)
bOnCollapse
Block
Code block executed when the panel is collapsed/expanded