Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6SP5 - Unselect Combo selection
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00795134
Message ID:
00796072
Vues:
106
Thanks I'll give this new cbo a try. I'll create handle key with the previous code and put this in the InteractiveChange. Is this all for an (more than) equivalant cbo, which I use?

To the best of my knowledge, yes. You may also want to add some code to the GotFocus() of the combo the select the entire contents like this:
ComboBox::GotFocus()
This.SelStart = 0
This.SelLength = LEN( This.Text )
NODEFAULT
You mau also want to add a new property to your combo box called 'cOldExact' and set it like this in the combo's GotFocus():
This.cOldExact = SET( 'EXACT' )
SET EXACT OFF
and reset it in the LostFocus() like so:
IF This.cOldExact = 'ON'
  SET EXACT ON
ENDIF
I'll keep that in mind <g>.

Personally, I have several shelves full of reference books that I have purchased and I could not be nearly as successful as I am without them. It really surprises me when I see developers who would rather spend a week of their time trying to figure something out on their own that to spend $50 on a book that would answer their current question in about 10 minutes as well as many future questions....

Maybe their time is not worth very much < g >.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform