Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vmp4, txtPickListValid textbox and pick list problems...
Message
De
06/09/2000 03:56:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00412665
Message ID:
00412808
Vues:
12
>Here is the scenario. I am using Visual MaxFrame. I have a frmDataEntry being called from LostFocus() of a txtPicklistValid textbox of another form (form1). The control source for the txtPickListValid textbox is a property of form1 that has been converted from a numeric to string padded to the left with spaces. I click on the txtPickListValid's command button which pops up the picklist. I make a selection and return to the calling form - form1. In the lostfocus() event of txtPickListValid, when I try to call the frmDataEntry, the picklist pops up for a second time, forcing the frmDataEntry to be in the background. I can make a selection from the picklist, but I can't exit the form1 or even access the frmDataEntry form. Has anyone seen this behavior with the picklists? I trying to learn more by reading the zReadme and there seems to be some anomlous behavior with these suckers, but I'm not making the connection....
>
>Thanks in advance...
>
>George.

Txtpicklistvalid is a bit like the 'Look for' - it does an incremental search.
If you want to mix the data types, I don't see it as as usefull option. Use a bton ad call the picklist form. By default, it returns the primary key of the table in the picklist, so you may have to read the record and plucg in the value you want.

Txtpicklistvalid works well, but make sure you set the input mask to the correct length of the data field. If you don't, although you get a match, it will call the form when you try to leave the field.

HTH

Geoff
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform