Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Works in EditBox but not in Textbox
Message
De
09/07/2002 09:08:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00676530
Message ID:
00676572
Vues:
15
Hi Caroline

I have code in the Valid but it is not doing anything to the value etc. in the textbox but it is still unselecting the text.

It doesn't happen on textbox's which are not executing the Valid event.

Kev

>>Hi
>>
>>I have some code in the RightClick() event of both my EditBox's and Textbox's - identical code.
>>
>>When I select some text from the Textbox and right-click it loses the SelStart and SelText properties - they reset to 0. This works fine in the Editbox though!
>>
>>Any ideas? I've checked everything.
>>
>>Kev
>Kev,
>Are you sure you don't have any code in the base class for the TextBox maybe LostFocus or Valid?
>
>Try testing the code on a clean form with a clean TextBox (ie use Fox classes) just to see how your code should react.
>
>HTH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform