>>>When I enter a field in a browse the entire text is selected. What controls this and how can I edit individual characters of the field without using the mouse.
>>
>>That's been changed from the default behavior in DOS versions. You need to press Home, End, ctrl+right or ctrl+left arrow to get in.
>
>Thanks Dragan,
>How do I turn that feature off all together so the entire contents of the field are not selected when I enter the field?
Probably can't be done with the browse itself... not that I know. You may write a simple routine to create a default grid on _screen, though, with the current alias, and then it wouldn't have this select-on-entry, or you could just have a grid.setall('selectonentry',.f.) or something like that. I don't use browse to do much editing, so I've just accepted this nuissance.
After playing a little, I came up with this little browse.prg:
oForm=CREATEOBJECT("browform")
oForm.show(1)
DEFINE CLASS browform AS form
ADD OBJECT oGrid as grid WITH recordsource=ALIAS()
PROCEDURE activate
this.Resize
ENDPROC
PROCEDURE resize
WITH this.oGrid
.top=0
.left=0
.width=this.Width
.height=this.Height
.setall("selectonentry",.f.)
endwith
ENDPROC
ENDDEFINE
Now I have no idea why it has to be modal... if I run it without the parameter in oForm.show, it just flashes across the screen.