11-23-2009, 04:24 PM
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.
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.