Notifications
Clear all
[Closed] DotNet Loading Assembly
Page 2 / 2
Prev
Apr 22, 2008 3:50 pm
Time to dig the XPTable thread up again (maybe change the thread title and make it into an XPTable discussion?).
Some of the event handlers seem bugged to me. For example, [i]CellButtonClicked[/i]: whether I asked for the row or the column, it always returns the column. A possible workaround is to use [i]CellMouseDown [/i]to get the clicked row.
Also had problems with the [i]EditingStopped[/i] event. This handler is called before the edited value is stored, thus making the handler itself useless.
fn onCellEditStop s e = ( print s.text ) dotNet.addEventHandler theXPTable "EditingStopped" OnCellEditStop
Whenever I edit a textfield, it prints the old name as soon as I stop editing. I tried using other events to get the cell value, but couldn't find an event that's called everytime editing is stopped. Tried using a dotnet timer, but couldn't get this to work properly.
(In order to use the keyboard in the text fields (instead of triggering shortcuts) use "if not XPTableControl.Focused then XPTableControl.Focus()" in the [i]BeginEditing[/i] event handler. Enter won't work, but all other keys do.)
Page 2 / 2
Prev