Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alternative to using .SetSelection
#5
Solved: 11 Years, 3 Months, 3 Weeks ago
Try this.

Code:
text = VbWindow("Form1").VbEdit("Text1").getROProperty("text)
iLen = Len(text )
VbWindow("Form1").VbEdit("Text1").SetSelection 0, iLen
VbWindow("Form1").VbEdit("Text1").Set 40
Reply


Messages In This Thread
Alternative to using .SetSelection - by janriis - 11-23-2009, 03:18 PM
RE: Alternative to using .SetSelection - by v_selvam - 11-24-2009, 11:58 AM
RE: Alternative to using .SetSelection - by Saket - 11-25-2009, 09:51 AM
RE: Alternative to using .SetSelection - by Saket - 12-09-2009, 11:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Alternative to Switch case- Multi Select with value match Aakansha_d 11 10,985 06-10-2008, 12:00 AM
Last Post: somisays

Forum Jump:


Users browsing this thread: 2 Guest(s)