Posted
So I Need Help Making One Buttons.
So I Need Help Making A Undo And Redo Button.
I Need Help With Tree Veiw Cause I Don't Know How To Use It.
Loves And Thanks
SpaceSpiffer.
https://media.discordapp.net/attachments/1013939973671624917/1027279180192292944/unknown.png
https://media.discordapp.net/attachments/1010670716062007347/1108945330847883274/image.png
Replied
If You Using Avalon It Has Functions For Redo And Undo So Just Make A Button And Use Avalon's Function For The Click Event On Each
For Undo Just Do AvalonName.Undo(); I Believe And The Opposite For Redo And Tree View I Couldn't Help With That Since I've Never Used Tree View
Cancel
Post
Replied
@50127Thank you so much this helped.It doesnt matter about tree view i will use list view or learn off of youtube how it works. Thank you alot.
Cancel
Post
Added
@65993one button sorry i will change i had more buttons but i just didnt ask.
Cancel
Post
https://media.discordapp.net/attachments/1013939973671624917/1027279180192292944/unknown.png
https://media.discordapp.net/attachments/1010670716062007347/1108945330847883274/image.png
back lol
Replied
@67353it like list view but it Each FIle Or Each iteam Can Have Sub iteams.
Cancel
Post
https://media.discordapp.net/attachments/1013939973671624917/1027279180192292944/unknown.png
https://media.discordapp.net/attachments/1010670716062007347/1108945330847883274/image.png
Why are you here
back lol
Replied
Adding a button is actually easy. The first thing you need to do is to look for WPF text boxes that can provide the standard undo and redo buttons. To make it easier for you, you just want to copy paste all of these. This is for the undo button -> private void Undo_Click(object sender, RoutedEventArgs e) { MyTextBox.Undo(); } ------ On the other hand, here is how you can do the redo button private void Redo_Click(object sender, RoutedEventArgs e) { MyTextBox.Redo(); } ... Of course, you just need to properly place these in your text box and you are good to go. I hope it helps.
Cancel
Post
Replied
@67994thanks this helped alot
Cancel
Post
https://media.discordapp.net/attachments/1013939973671624917/1027279180192292944/unknown.png
https://media.discordapp.net/attachments/1010670716062007347/1108945330847883274/image.png
Users viewing this thread:
( Members: 0, Guests: 0, Total: 0 )
Cancel
Post