Export (0) Print
Expand All

compact property

Sets or retrieves a Boolean value indicating whether the list should be compacted by removing extra space between list objects.

 

Syntax

HRESULT value = object.put_compact( v);HRESULT value = object.get_compact(* p);

Property values

Type: VARIANT_BOOL

VARIANT_TRUE (true)

Removes extra space between objects in list.

VARIANT_FALSE (false)

Default. Does not remove extra space between objects in list.

Standards information

Remarks

There is no functionality implemented for the IHTMLListElement2::compact property for the ul, ol, dir and menu elements unless defined by the author.

In Microsoft Internet Explorer 6 and greater, this property applies to the menu and dir objects.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft