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

My app is not a web app, but a windows application written in VB6.0. What i need is a way to clear a vbedit field before entering new text.

Example. in my vbedit field "txtAge" i have the default value 65. My new value is 40. If i just just .type "40", the default value wont be erased.

Using setSelection 0,0,0,2 works sometimes, but is not reliable.
Reply


Messages In This Thread
Alternative to using .SetSelection - by janriis - 11-23-2009, 03:18 PM
RE: Alternative to using .SetSelection - by janriis - 11-23-2009, 04:24 PM
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: 1 Guest(s)