It's a Hudini text box. What you type is not what you see. <g>.
here is the code for proof:
Wait wind nowait left(this.value,this.selstart) && Shows keyboard input
If seek(left(this.value,this.selstart))
llfound=.t.
<snip>
this.value = v_teams.team_name
<snip>
This.refresh && should paint the control with the teams name if found.
I see the first find, but the text does not refresh to a new team that is found. Secondly it will have "|" type marks as where the this.selstart would be. My wait wind is totaly correct in what I have typed.
Wait Wind shows:BUB
control shows :B|A|C|K SEAT PORKERS
the first "B" was 'BACK SEAT PORKERS' but I wanted 'BUBBA MEETS BACCHUS'
This happens only with the cgrid and does not come into play when I use the lowly M$ grid.
I have used both grids and I just change the name of it for testing.
>Stephen,
>
>Could you expand on the description of what's happening visually?
>
>Regards,