SetExpanded |
Use this method to expand or contract a header.
Prototype:
SetExpanded(LONG HeaderID, <BYTE IsExpanded>)
Arguments:
HeaderID |
The unique header ID of the header beeing modified |
IsExpanded |
(Optional) If true the header will be expanded, false will contract the header. If this argument is omitted the header will be expanded. |
Example:
TaskPanel5.SetExpanded(Self.MyFirstHeader, False) !Contracts MyFirstHeader
See also: