#186 treeview endedit received arguments ooDialog4.2

ooDialog (31)

Found an old note I have, about ooDialog 4.2 ref manual.

I have forgot what first arg (item) returned, but I seems not to be using it in my code elsewhere.

In the manual: EndEdit Event Handler
::method onEndEdit unguarded
use arg item, newText
return 0

Actually a treeview endedit receives three arguments (which is fine, I need the oldtext so good to have a ref. to that)

::method onEndEdit unguarded
use arg item, key , newText

-- and retreive the old text with

tree = self~newTreeView("IDC_TREE1")
info. = tree~itemInfo(key)
oldText = info.!TEXT

-- and modify

If symbol("NEWTEXT") = "VAR" then do

Chapter 4 on page 484
1. The event-handling method connected to ENDEDIT receives two arguments: the item handle
of which the label has been edited and the newly entered text.


  • Mark Miesfeld

    Mark Miesfeld - 2012-08-15
    • assigned_to: Mark Miesfeld
  • Mark Miesfeld

    Mark Miesfeld - 2012-08-15

    Okay, this will be fixed in the documentation for ooDialog 4.2.0.

  • Mark Miesfeld

    Mark Miesfeld - 2012-08-16

    Committed revision 8198. ooDialog/branches/4.2.0
    Committed revision 8199. docs/trunk/oodialog

    Thanks /hex. It's funny I did not even notice this when you opened it.

    • labels: ooDialog --> ooDialog, ooDialog_4.2.0_release
    • status: open --> pending
  • Mark Miesfeld

    Mark Miesfeld - 2012-08-20
    • labels: ooDialog, ooDialog_4.2.0_release --> ooDialog
    • milestone: Next_Release --> ooDialog.4.2.0
  • Mark Miesfeld

    Mark Miesfeld - 2012-09-07
    • status: pending --> closed


Cancel  Add attachments

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks