Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: Keyboard LeftMouse changes FieldState
Message
From
19/08/2005 03:50:11
 
 
To
19/08/2005 03:34:13
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01041906
Message ID:
01042185
Views:
29
Hi Peter,

Semantics is not the correct word here, as I see it. The thing is, Sergey showed you the CORRECT way to do the job, KEYBOARD should only be considered as a last resort.

By the way, my guess is that your solution would actually have worked, if you added the PLAIN keyword.

>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
* EditBox GotFocus
>>>>This.SelStart = LEN(This.Value)
>>>>This.SelLength = 0
>>>>
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform