Hi,
I have an active item in my ultralistview that I want to make "updatable". I found EnterEditMode in the classbrowser. How do I get this to work? See the definitions in the classbrowser below.
Thanks, Stefan.
PUBLIC VARIABLE EnterEditMode AS Infragistics.Win.UltraWinListView.UltraListViewAction
Member of Infragistics.Win.UltraWinListView.UltraListViewAction
Summary:
Enumeration which contains constants that identify the actions that can be performed on the Infragistics.Win.UltraWinListView.UltraListView control.
-----------------------------------------------------------------------------------------------------------------------
CLASS UltraListViewAction FINAL :
Member of Infragistics.Win.UltraWinListView
Inherits System.Enum
Implements System.IComparable, System.IFormattable, System.IConvertible
Summary:
Enumeration which contains constants that identify the actions that can be performed on the Infragistics.Win.UltraWinListView.UltraListView control.
ABL Syntax:
It seems that I have to use PerformAction on the listview, my question becomes: how do you create that parameter?
METHOD PUBLIC FINAL logical PerformAction (actionCode AS CLASS Infragistics.Win.UltraWinListView.UltraListViewAction)
Member of Infragistics.Win.UltraWinListView.UltraListView
Summary:
Control which emulates the look and feel of the .NET ListView control.
It seems that I have to use PerformAction on the listview, my question becomes: how do you create that parameter?
It's an Enum, and as such it has static members:
ultraListView1:PerformAction (Infragistics.Win.UltraWinListView.UltraListViewAction:EnterEditMode) .
So no need / ability to create the parameter.
Thanks, that at least compiles. My active item is not updatable though, I'll search a bit further.
Question answered. I use BeginEdit() on the item now, that works. PerformAction on the listview returned false. No idea why, but BeginEdit() is perfect. Lets call PerformAction the not working workaround in this case. ;-)