Forum > Coding >

How can I Select Text Editor for each TabControl [WPF]

oopszero234

ZeroGaming

Posts: 13

Threads: 8

Joined: Dec, 2021

Reputation: 1

Posted

Here are some of my explanations: I want to create a button to clear all existing scripts in the Text Editor in my selected Tab but not affect other tabs that also have Text Editor like the one I'm selecting how do I have can do that.

 

I'm Using WPF NOT Winforms

My TextEditor I Used: ICSharpCode.AvalonEdit & ICSharpCode.AvalonEditor

 

in other words I want it to only delete the script from one Tab.

 

Here's how it looks: https://i.ibb.co/DW0HJP4/image-2022-06-27-202412585.png

 

Here is my C# script to create a new Tab:

https://i.ibb.co/n6MGdYQ/image-2022-06-27-201010810.png

 

Here is the script I need but it doesn't work in WPF:

https://i.ibb.co/NjWtwLJ/image-2022-06-27-201526461.png

  • 1

Ask me C++ and I'll tell you I don't know.

 

https://cdn.discordapp.com/attachments/1013243706507276289/1028551118625714216/XeraX.gif

SeizureSalad

i love femboys

Posts: 1012

Threads: 73

Joined: Mar, 2021

Reputation: 37

Replied

that code should work or at least read tabcontrol docs and make sure your variable names are correct instead of just pasting

  • 0

"Questionable intellegence, but I like the mystery" - CubeFaces

https://cdn.discordapp.com/attachments/1136067487847415848/1138948596679589898/sig.png

Posts: 426

Threads: 32

Joined: Aug, 2021

Reputation: 54

Replied

@nick27203 die die die die die die die die die die die die die die die die die die die die die die die die die die die die die die die die die die die

  • 0

Owner @ https://altbot.win

The #1 Account Gen for Roblox

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )