SetExpanded

Return to Introduction  Previous page  Next page

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:

GetExpanded



Direct link to this page on our website: http://www.icetips.com/manuals/xptaskpanel/setexpanded.htm