SftTree/NET 2.0

HandleReturn Property, SftTree Class

Softel vdm, Inc.

Defines whether the control accepts and handles the Return key.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property HandleReturn As Boolean

C#   

public bool HandleReturn { get; set; }

C++   

public: property bool HandleReturn {
        bool get();
        void set(bool value);
}

Property Value

True if the control handles the Return key, otherwise False.

The default value is True.

Comments

The HandleReturn property defines whether the control accepts and handles the Return key.

If enabled, the Return key is handled by the control and the KeyDown event will be generated for the Return key. In this case, if AutoRespond is True, the current item is automatically expanded or collapsed.

Otherwise, the control ignores the Return key, which allows an enclosing form's default button to respond to the Return key instead.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com