Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox ControlSource
Message
De
20/05/1999 16:03:21
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
19/05/1999 07:31:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00220336
Message ID:
00221138
Vues:
17
>I have a series of Comboboxes that I want to contain 2 columns. The 1st column is a 1 or 2 character code that is used in the table and our DOS user's enter easily from habit. What our designer wants is to display the associated text (column 2) in a label beside the control. If the user makes an entry, the valid event fires and updates the label. However, when the user is pressing the "NEXT" toolbutton, the control updates, but I can't find an event that fires to update the label. I read in Hacker's Guide that the ProgramaticChange event fires when Displayvalue or Value is changed via code. That must mean my code because by simply moving the record pointer in the associated view doesn't fire any event that I can see. Do I understand this behavior correctly?

You can refresh the label from the combo.refresh. I've done it several times, and as the navigational button moves the record pointer, all the bound controls automatically refresh - and that's where I update the unbound controls (and labels) from.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform