Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selecting text within a text field
#3
Hi Gintaras,
This is the control window information:

WindowsForms10.RichEdit20W.app.0.378734


So it looks like a rich edit.

I don't know much on how to use rich edit controls.
I tried with the

Code:
Copy      Help
str s
s.getwintext(...)
s.replacerx etc
s.setwintext, or key Ca; s.setsel.


approach but the program didn't like it. I think it like to track any edit changes itself so the fact that I "pulled a fast one" on it "beneath it's very nose" kind of freaked it out.

Is there an easy way use rich edit control to find the statement (either a specific str "x y z" or perhaps a RegEx pattern and then delete it.

If this is too complicated to explain to me at my programming level, I understand...

Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)