Home Forums WinForms controls Other WinForms controls Inserting a button in a treeview

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #18346 |

    Hi,

    How do you insert a button in a treeview node? Basically, I am looking for something just like Toolbar.ComboBoxTool that also allows you to have text next to the combobox.

    Thanks,
    Ash

    Imported from legacy forums. Posted by Ashish (had 2572 views)

    User (Old forums)
    Member
    Post count: 23064

    SmartUI does not offer a Button as such, and you can only use SmartItems in SmartControls, so this is not possible as such.

    However, there is one possible solution, though I’m not sure it will suite your need. You could use the ToolBar.Tool in the TreeView. The Tool permits you to place an image and a text side by side. If you can feed the Tool with an image of a button, since it permits you to click the image, it would the mimic the behavior of a real button.

    Imported from legacy forums. Posted by André (had 3498 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.