User Activity

  • Posted a comment on discussion Help on ObjectListView

    I have searched and searched but cannot find an answer to my problem. I have a command button the Click event should delete current select row. It works for root level node, but not on a selected child. Why ? Please help... I am sure I am missing something here but can not figure out what. My delete function is at the bottom of the code below: public class Node { public string Name { get; set; } public string OffSet { get; set; } public string Description { get; set; } public string Size { get; set;...

  • Created ticket #11 on ObjectListView

    Problems Deleting Child Nodes

  • Posted a comment on discussion Open Discussion on ObjectListView

    Update: I fixed this addressing each element explicitly ((Node)ovlRegs.SelectedObject).Name = textBoxName.Text; ((Node)ovlRegs.SelectedObject).Size = textBoxSize.Text; ((Node)ovlRegs.SelectedObject).Description = textBoxDiscription.Text; ((Node)ovlRegs.SelectedObject).Base= (ovlRegs.GetParent(ovlRegs.SelectedObject)==null);

  • Posted a comment on discussion Open Discussion on ObjectListView

    My code gets the data from the current row and populates several textbox, but how do i get it back into the control if there were edits? Example Code: ovlRegs.SelectedItem.RowObject = new Node(Name.Text, Offset.Text, Size.Text, Discription.Text, false); ovlRegs.UpdateObject(ovlRegs.SelectedItem.RowObject); ovlRegs.RefreshObject(ovlRegs.SelectedItem.RowObject); I know I am showing my ignorance, but how do I save the data back ?

View All

Personal Data

Username:
toadcode
Joined:
2017-07-28 22:45:43

Projects

  • No projects to display.

Personal Tools