Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
425
Embedded Editor Refresh
posted

I have a TreeView control which uses multiple different types of embedded editors at each node.  I'm having a problem with one editor in particular which has EditorButtons on it.  There is code that changes the Visible and/or Enabled state of the EditorButtons, but although this code works fine for this control when it is not in the TreeView (just on a normal WinForm object),  it doesn't want to refresh the visible status of the control when within the TreeView.  I'm sure this has something to do with the nature of how embedded editors are handled, but I've tried everything I can think of from a direct Invalidate and Refresh call on both the embedded control and TreeView parent to my own DrawFilter.  Certainly there is some event or method that I'm missing that is failing to force the embedded control from reflecting the current properties of the Editor Buttons?  Thanks

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    I'm sure I can help you get this working, but I need a little more information about how you have it set up.

    Are you displaying the editor inside a cell in the tree? Or just in a standard node (with no columns)?

    Are you using the same editor control for more than one node? Or does each node in the tree have it's own editor?

Children