Autor Beitrag
Dr. Hallo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110
Erhaltene Danke: 13

XP
C/C++/C#
BeitragVerfasst: Sa 02.04.11 09:58 
beim selektieren von text per hand wird die markierung immer automatisch erweitert. das nervt elend! :crying:

weiß einer, ob man das abstellen kann, sodass ich das selektier-verhalten einer normalen textbox bekomme?

gruß!
Th69
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Moderator
Beiträge: 4805
Erhaltene Danke: 1061

Win10
C#, C++ (VS 2017/19/22)
BeitragVerfasst: Sa 02.04.11 11:53 
Hallo,

meinst du die AutoWordSelection?
Dr. Hallo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110
Erhaltene Danke: 13

XP
C/C++/C#
BeitragVerfasst: Sa 02.04.11 13:12 
nein, das hab ich auch schon versucht..
ich befürchte, das ist wieder so ein ding, wo man tief in die win32-trickkiste greifen muss.
danke...
Th69
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Moderator
Beiträge: 4805
Erhaltene Danke: 1061

Win10
C#, C++ (VS 2017/19/22)
BeitragVerfasst: Sa 02.04.11 13:18 
Doch ich denke schon, daß das die richtige Eigenschaft ist ;-)
Es gibt jedoch einen Bug dabei: social.msdn.microsof...81-af9c-9593d3f4e929

Also einfach im Load-Event der Form dies deaktivieren:
ausblenden C#-Quelltext
1:
2:
3:
4:
void Form_Load(obejct sender, EventArgs e)
{
  richtextBox.AutoWordSelection = false;
]
Dr. Hallo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110
Erhaltene Danke: 13

XP
C/C++/C#
BeitragVerfasst: So 03.04.11 08:52 
ja, so funktioniert das. kleiner fieser bug. vielen dank!!



gruß.