Hi Sergey,
Semantics, semantics... :-)
I may be wrong here, though I can't quite see why, but I believe I'm not being unreasonable in expecting the KEYBOARD command to do
exactly the same as pressing the key or mouse, no more - no less.
It clearly does not do that.
When VFP does not behave as expected, but there is another way to achieve the goal, I'm inclined to call it a workaround.
If I had RMFM I wouldn't have had to ask the question in the first place, but that's another issue.
As always - Thank's for your help.
>Hi Peter,
>
>
>Great workaround, thank you.>
>Why would you call it a workaround?
>
>
>It's still a bug, though, right?>
>Maybe, I dunno.
>
>
>>>Try
>>>This.SelStart = LEN(This.Value)
>>>This.SelLength = 0
>>>
>
Peter Pirker
Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?
(Woody Allen)