Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: Keyboard LeftMouse changes FieldState
Message
De
19/08/2005 03:50:11
 
 
À
19/08/2005 03:34:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01041906
Message ID:
01042185
Vues:
28
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
>>>>
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform