Click to return to the DHTML, HTML     
close Method     compareEndPoints Method     DHTML Methods    
Web Workshop  |  DHTML, HTML & CSS

collapse Method


Moves the insertion point to the beginning or end of the current range.

Syntax

TextRange.collapse([bStart])

Parameters

bStart Optional. Boolean that specifies one of the following values:
trueDefault. Moves the insertion point to the beginning of the text range.
falseMoves the insertion point to the end of the text range.

Return Value

No return value.

Remarks

This feature might not be available on non-Win32® platforms. For the latest information about Internet Explorer cross-platform compatibility, see article Q172976 Non-MSDN link in the Microsoft Knowledge Base.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

TextRange

See Also

expand



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.