Table Of Contents

Previous topic

UltimateListRenameTimer

Next topic

xlsgrid

This Page

phoenix_title UltimateListTextCtrl

Control used for in-place edit.

This is a subclass of ExpandoTextCtrl as UltimateListCtrl supports multiline text items.

Note

To add a newline character in a multiline item, press Shift + Enter as the Enter key alone is consumed by UltimateListCtrl to finish the editing and Ctrl + Enter is consumed by the platform for tab navigation.


class_hierarchy Inheritance Diagram

Inheritance diagram for class UltimateListTextCtrl

Inheritance diagram of UltimateListTextCtrl


super_classes Known Superclasses

lib.expando.ExpandoTextCtrl


method_summary Methods Summary

__init__ Default class constructor.
AcceptChanges Accepts/refuses the changes made by the user.
Finish Finish editing.
OnChar Handles the EVT_CHAR event for UltimateListTextCtrl.
OnKeyUp Handles the EVT_KEY_UP event for UltimateListTextCtrl.
OnKillFocus Handles the EVT_KILL_FOCUS event for UltimateListTextCtrl.
StopEditing Suddenly stops the editing.

api Class API



class UltimateListTextCtrl(ExpandoTextCtrl)

Control used for in-place edit.

This is a subclass of ExpandoTextCtrl as UltimateListCtrl supports multiline text items.

Note

To add a newline character in a multiline item, press Shift + Enter as the Enter key alone is consumed by UltimateListCtrl to finish the editing and Ctrl + Enter is consumed by the platform for tab navigation.


Methods



__init__(self, owner, itemEdit)

Default class constructor. For internal use: do not call it in your code!

Parameters:


AcceptChanges(self)

Accepts/refuses the changes made by the user.



Finish(self)

Finish editing.



OnChar(self, event)

Handles the EVT_CHAR event for UltimateListTextCtrl.

Parameters:event – a KeyEvent event to be processed.


OnKeyUp(self, event)

Handles the EVT_KEY_UP event for UltimateListTextCtrl.

Parameters:event – a KeyEvent event to be processed.


OnKillFocus(self, event)

Handles the EVT_KILL_FOCUS event for UltimateListTextCtrl.

Parameters:event – a FocusEvent event to be processed.


StopEditing(self)

Suddenly stops the editing.