Update tree view
-
I have a TreeList view, where the first column is a tree view and the second cloumn is a list, with each list item corresponding to a tree item. I can change list item label via button control (to increase or decrease the value) or edit it value using a dialog box. When I use the button control, I find the the label on the list is not refreshed, I need to deselect it before the values changes. And when I use the dialog to change the value, it does nto change at all. How can I make the label on the list change 'instantaneously'? Thanks in advance
-
I have a TreeList view, where the first column is a tree view and the second cloumn is a list, with each list item corresponding to a tree item. I can change list item label via button control (to increase or decrease the value) or edit it value using a dialog box. When I use the button control, I find the the label on the list is not refreshed, I need to deselect it before the values changes. And when I use the dialog to change the value, it does nto change at all. How can I make the label on the list change 'instantaneously'? Thanks in advance
After changing your value, try: UpdateData(false); Hope it will help! Regards Frederico
-
After changing your value, try: UpdateData(false); Hope it will help! Regards Frederico