Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interactive change event in a combobox
Message
De
22/01/2001 12:07:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Interactive change event in a combobox
Divers
Thread ID:
00466704
Message ID:
00466704
Vues:
32
**quote documentation**
>This event occurs each time the object's value changes interactively. For example, as a user types in a text box, the InteractiveChange event is triggered after each keystroke.


I have a combobox on a form with these properties:
datasource = billcode
controlsource = hours.bill_code
RowSource = billcode.bill_code, description
RowSourceType = 6 - Fields
A corresponding text box on the form is also bound to hours.bill_code. When the user selects a value from the combo box, it sets the table field in the hours table, but then you must issue a refresh to get it to show the change. Putting the call to refresh in the interactive change event of the combo box does not do the right thing, as it then will not update the underlying field, effectively preventing the user from changing the field.

Question: suggestions as to where to issue a refresh?
Jim Newsom
IT Director, ICG Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform